6 Commits

Author SHA1 Message Date
8248d4b969 update flake, switch to kvm instead of virtualbox, add lrzip package
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 9m44s
2025-06-09 17:04:50 +02:00
18df257130 update flake
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 11m54s
2025-05-20 16:04:54 +02:00
c9ffd8a567 nodejs_23 doesn't exist in nixpkgs unsable anymore
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 15m52s
2025-05-16 00:19:28 +02:00
637f7e0d78 update flake
Some checks failed
Build iso when a new version is pushed / test (push) Failing after 22s
2025-05-16 00:14:36 +02:00
4ff3ab574f change wallpaper on all configs instead of just laptop
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 9m18s
2025-05-12 12:35:54 +02:00
633eea8877 enable display manager on desktop
Some checks failed
Build iso when a new version is pushed / test (push) Failing after 13m10s
2025-05-06 22:47:47 +02:00
8 changed files with 38 additions and 28 deletions

24
flake.lock generated
View File

@ -8,11 +8,11 @@
},
"locked": {
"dir": "pkgs/firefox-addons",
"lastModified": 1745752599,
"narHash": "sha256-vX5uq4wv7FeNeeFtsTPXQ9n2hd92NFXI+u9sg1K8OhA=",
"lastModified": 1749441800,
"narHash": "sha256-bN4tccrmczfR4PUuepHpxNNmWG3cLZTFIt4BaD8YyvA=",
"owner": "rycee",
"repo": "nur-expressions",
"rev": "0388c30f59e860307b2ef0ba93f38d2e525a153e",
"rev": "fe13e6abfe72b39ad8381595c3c404849330c3cb",
"type": "gitlab"
},
"original": {
@ -29,11 +29,11 @@
]
},
"locked": {
"lastModified": 1745894335,
"narHash": "sha256-m47zhftaod/oHOwoVT25jstdcVLhkrVGyvEHKjbnFHI=",
"lastModified": 1749479111,
"narHash": "sha256-0cn4NGnYR3n0m8FPrt+pW817Cedi4vwOw3SgJaTcdcg=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "1ad123239957d40e11ef66c203d0a7e272eb48aa",
"rev": "35e1f5a7c29f2b05e8f53177f6b5c71108c5f4c3",
"type": "github"
},
"original": {
@ -44,11 +44,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1745907084,
"narHash": "sha256-Q8SpDbTI95vtKXgNcVl1VdSUhhDOORE8R77wWS2rmg8=",
"lastModified": 1749195551,
"narHash": "sha256-W5GKQHgunda/OP9sbKENBZhMBDNu2QahoIPwnsF6CeM=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "f1e52a018166e1a324f832de913e12c0e55792d0",
"rev": "4602f7e1d3f197b3cb540d5accf5669121629628",
"type": "github"
},
"original": {
@ -60,11 +60,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1745794561,
"narHash": "sha256-T36rUZHUART00h3dW4sV5tv4MrXKT7aWjNfHiZz7OHg=",
"lastModified": 1749285348,
"narHash": "sha256-frdhQvPbmDYaScPFiCnfdh3B/Vh81Uuoo0w5TkWmmjU=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "5461b7fa65f3ca74cef60be837fd559a8918eaa0",
"rev": "3e3afe5174c561dee0df6f2c2b2236990146329f",
"type": "github"
},
"original": {

View File

@ -6,7 +6,7 @@
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2024/10/17 18:15:38 by tomoron #+# #+# #
# Updated: 2025/04/25 00:08:54 by tomoron ### ########.fr #
# Updated: 2025/05/12 12:35:00 by tomoron ### ########.fr #
# #
# **************************************************************************** #
@ -66,7 +66,7 @@
home.file = { #should be able to make most of these in nix configs
".config/wallpaper.png".source = lib.mkDefault utils/wallpaper.png;
".config/wallpaper.png".source = lib.mkDefault utils/wallpaper_test.png;
".config/pc.jpg".source = lib.mkDefault utils/pc.jpg;
".config/rofi/config.rasi".text = "@theme \"rounded-nord-dark.rasi\"";

View File

@ -1,7 +1,6 @@
{ lib, pkgs, ... }:
{
home.file.".config/wallpaper.png".source = ../utils/wallpaper_test.png;
programs.waybar.settings.mainBar = {
modules-right = lib.mkBefore ["custom/fans" "custom/dgpu"];
"custom/dgpu" = {

View File

@ -18,7 +18,7 @@
home.packages = with pkgs; [
clang-tools
nixd
nodejs_23
nodejs_24
glsl_analyzer
];

View File

@ -2,12 +2,6 @@
{ config, lib, inputs, pkgs, ... }:
{
imports = [
../modules/game.nix
../modules/nvidia.nix
../modules/vboxHost.nix
];
environment.systemPackages = with pkgs; [
cudatoolkit
lm_sensors
@ -18,6 +12,7 @@
hardware.cpu.intel.updateMicrocode = true;
boot.kernelModules = [ "kvm-intel" "nvidia" ];
mods.displayManager.enable = true;
hardware.nvidia = {

View File

@ -1,19 +1,20 @@
{ pkgs, ... }:
{ config, pkgs, ... }:
{
boot.kernelParams = [ "kvm.enable_virt_at_load=0" ];
boot.initrd.luks.devices.cryptroot.device = "/dev/disk/by-uuid/a4593b01-069d-4a5d-a550-74a762b89b3f";
boot.initrd.luks.devices.cryptroot.allowDiscards = true;
services.displayManager.enable = true;
services.displayManager.ly.enable = true;
mods.displayManager.enable = true;
mods.virtualbox.enable = false;
networking.firewall.enable = false;
networking.hostName = "patate-douce";
networking.wireless.enable = true;
networking.networkmanager.enable = false;
programs.virt-manager.enable = true;
virtualisation.libvirtd.enable = true;
networking.dhcpcd.enable = false;
systemd.network.enable = true;
networking.useNetworkd = true;
@ -21,7 +22,6 @@
environment.systemPackages = with pkgs; [
acpi
tlp
looking-glass-client
fprintd
];

View File

@ -0,0 +1,15 @@
{config, lib, ... }:
{
options.mods.displayManager.enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = "enable the display manager";
};
config = lib.mkIf config.mods.displayManager.enable {
services.displayManager.enable = true;
services.displayManager.ly.enable = true;
};
}

View File

@ -2,6 +2,7 @@
{
environment.systemPackages = with pkgs; [
lrzip
home-manager
vim
pciutils