Compare commits

...
2 Commits
8 changed files with 150 additions and 13 deletions
Generated
+105 -9
View File
@@ -54,18 +54,64 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs": { "nix-software-center": {
"inputs": {
"nixos-appstream-data": "nixos-appstream-data",
"nixpkgs": "nixpkgs",
"utils": "utils"
},
"locked": { "locked": {
"lastModified": 1769089682, "lastModified": 1730517716,
"narHash": "sha256-9yA/LIuAVQq0lXelrZPjLuLVuZdm03p8tfmHhnDIkms=", "narHash": "sha256-hq3jlW5lyT2RkWhJ2/Oo+dt9FXtJ47zDDBBk8A8abMo=",
"owner": "nixos", "owner": "snowfallorg",
"repo": "nixpkgs", "repo": "nix-software-center",
"rev": "078d69f03934859a181e81ba987c2bb033eebfc5", "rev": "216eb549f1ec222c2877d2194f2987527954f2c4",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "snowfallorg",
"ref": "nixos-25.11", "repo": "nix-software-center",
"type": "github"
}
},
"nixos-appstream-data": {
"inputs": {
"flake-utils": [
"nix-software-center",
"utils"
],
"nixpkgs": [
"nix-software-center",
"nixpkgs"
]
},
"locked": {
"lastModified": 1712858390,
"narHash": "sha256-XE7gr+zU3N4SHPAhsgk8cVAFp1iBg+Lxxp3y4dUF1vE=",
"owner": "korfuri",
"repo": "nixos-appstream-data",
"rev": "0465d42a4433faa63b7a5eb0b8d397937c9fc13a",
"type": "github"
},
"original": {
"owner": "korfuri",
"ref": "flake",
"repo": "nixos-appstream-data",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1692638711,
"narHash": "sha256-J0LgSFgJVGCC1+j5R2QndadWI1oumusg6hCtYAzLID4=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "91a22f76cd1716f9d0149e8a5c68424bb691de15",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
@@ -101,14 +147,64 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_2": {
"locked": {
"lastModified": 1769089682,
"narHash": "sha256-9yA/LIuAVQq0lXelrZPjLuLVuZdm03p8tfmHhnDIkms=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "078d69f03934859a181e81ba987c2bb033eebfc5",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-25.11",
"repo": "nixpkgs",
"type": "github"
}
},
"root": { "root": {
"inputs": { "inputs": {
"flake-parts": "flake-parts", "flake-parts": "flake-parts",
"home-manager": "home-manager", "home-manager": "home-manager",
"import-tree": "import-tree", "import-tree": "import-tree",
"nixpkgs": "nixpkgs", "nix-software-center": "nix-software-center",
"nixpkgs": "nixpkgs_2",
"nixpkgs-unstable": "nixpkgs-unstable" "nixpkgs-unstable": "nixpkgs-unstable"
} }
},
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"utils": {
"inputs": {
"systems": "systems"
},
"locked": {
"lastModified": 1689068808,
"narHash": "sha256-6ixXo3wt24N/melDWjq70UuHQLxGV8jZvooRanIHXw0=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "919d646de7be200f3bf08cb76ae1f09402b6f9b4",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
} }
}, },
"root": "root", "root": "root",
-1
View File
@@ -4,7 +4,6 @@
... ...
}: }:
{ {
nixpkgs.config.allowUnfreePredicate = nixpkgs.config.allowUnfreePredicate =
pkg: pkg:
builtins.elem (nixpkgs.lib.getName pkg) [ builtins.elem (nixpkgs.lib.getName pkg) [
+1 -1
View File
@@ -11,7 +11,7 @@ in
virtualisation.docker = { virtualisation.docker = {
enable = true; enable = true;
daemon.settings.features.cdi = true;
}; };
}; };
} }
+15
View File
@@ -0,0 +1,15 @@
{ lib, config, ... }:
with lib;
let
cfg = config.os.virtualisation.cuda;
in
{
options.os.virtualisation.cuda = {
enable = mkEnableOption "System CUDA service";
};
config = mkIf cfg.enable {
hardware.nvidia-container-toolkit.enable = true;
};
}
+1
View File
@@ -25,6 +25,7 @@
# Virtualisation Apps # Virtualisation Apps
os.shell.docker.enable = true; os.shell.docker.enable = true;
os.virtualisation.cuda.enable = true;
# System version # System version
system.stateVersion = "25.11"; system.stateVersion = "25.11";
+4 -1
View File
@@ -4,7 +4,10 @@
users.users = { users.users = {
alistreaza = { alistreaza = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" ]; extraGroups = [
"wheel"
"docker"
];
}; };
}; };
} }
+1 -1
View File
@@ -19,7 +19,7 @@
}; };
os.ide.zed.enable = true; os.ide.zed.enable = true;
os.ide.jetbrains.enable = true; os.ide.jetbrains.enable = false;
home.stateVersion = "25.11"; home.stateVersion = "25.11";
}; };
+23
View File
@@ -55,6 +55,7 @@ with lib.hm.gvariant;
"org/gnome/shell/extensions/dash-to-panel" = { "org/gnome/shell/extensions/dash-to-panel" = {
prefs-opened = true; prefs-opened = true;
isolate-monitors = true; isolate-monitors = true;
isolate-workspaces = true; isolate-workspaces = true;
@@ -70,8 +71,11 @@ with lib.hm.gvariant;
dot-position = "BOTTOM"; dot-position = "BOTTOM";
dot-style-focused = "METRO"; dot-style-focused = "METRO";
dot-style-unfocused = "DOTS"; dot-style-unfocused = "DOTS";
focus-highlight = true; focus-highlight = true;
focus-highlight-dominant = true; focus-highlight-dominant = true;
hide-overview-on-startup = true;
}; };
"org/gnome/shell/extensions/paperwm" = { "org/gnome/shell/extensions/paperwm" = {
@@ -84,6 +88,25 @@ with lib.hm.gvariant;
position-in-panel = 1; position-in-panel = 1;
}; };
"org/gnome/shell/extensions/paperwm/workspaces" = {
list = [
"personal"
"university"
];
};
"org/gnome/shell/extensions/paperwm/workspaces/personal" = {
name = "Personel";
index = 0;
background = "file://" + ./wallpapers/mocha.svg;
};
"org/gnome/shell/extensions/paperwm/workspaces/university" = {
name = "Université";
index = 1;
background = "file://" + ./wallpapers/frappe.svg;
};
}; };
}; };
} }