I've been using this for a while, will now change some thing

This commit is contained in:
Johannes Hendrik Gerard van der Weide 2024-10-29 12:59:37 +01:00
parent 5979630e28
commit 5b97f8acad
6 changed files with 110 additions and 3 deletions

View file

@ -2,12 +2,13 @@
{ {
services = { services = {
displayManager.cosmic-greeter.enable = true;
desktopManager.cosmic.enable = true;
libinput.enable = true; libinput.enable = true;
xserver = { xserver = {
enable = true; enable = true;
xkb.variant = "us"; xkb.variant = "us";
xkb.layout = "nl"; xkb.layout = "nl";
displayManager.gdm.enable = true;
desktopManager = { desktopManager = {
gnome.enable = true; gnome.enable = true;
xterm.enable = false; xterm.enable = false;

View file

@ -1,5 +1,21 @@
{ {
"nodes": { "nodes": {
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1717312683,
"narHash": "sha256-FrlieJH50AuvagamEvWMIE6D2OAnERuDboFDYAED/dE=",
"owner": "nix-community",
"repo": "flake-compat",
"rev": "38fd3954cf65ce6faf3d0d45cd26059e059f07ea",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "flake-compat",
"type": "github"
}
},
"flake-utils": { "flake-utils": {
"inputs": { "inputs": {
"systems": "systems" "systems": "systems"
@ -68,6 +84,27 @@
"url": "https://git.lix.systems/lix-project/nixos-module/archive/2.91.0.tar.gz" "url": "https://git.lix.systems/lix-project/nixos-module/archive/2.91.0.tar.gz"
} }
}, },
"nixos-cosmic": {
"inputs": {
"flake-compat": "flake-compat",
"nixpkgs": "nixpkgs",
"nixpkgs-stable": "nixpkgs-stable",
"rust-overlay": "rust-overlay"
},
"locked": {
"lastModified": 1728616391,
"narHash": "sha256-xFQpxbBYaPktRuM9XBEJfWKGbq8odEikZP77+d/0o44=",
"owner": "lilyinstarlight",
"repo": "nixos-cosmic",
"rev": "c0fe031a0bb89e6641f9ab3fb0d413babe4845d4",
"type": "github"
},
"original": {
"owner": "lilyinstarlight",
"repo": "nixos-cosmic",
"type": "github"
}
},
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1727665282, "lastModified": 1727665282,
@ -85,6 +122,38 @@
} }
}, },
"nixpkgs": { "nixpkgs": {
"locked": {
"lastModified": 1728492678,
"narHash": "sha256-9UTxR8eukdg+XZeHgxW5hQA9fIKHsKCdOIUycTryeVw=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "5633bcff0c6162b9e4b5f1264264611e950c8ec7",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1728500571,
"narHash": "sha256-dOymOQ3AfNI4Z337yEwHGohrVQb4yPODCW9MDUyAc4w=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "d51c28603def282a24fa034bcb007e2bcb5b5dd0",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-24.05",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1727802920, "lastModified": 1727802920,
"narHash": "sha256-HP89HZOT0ReIbI7IJZJQoJgxvB2Tn28V6XS3MNKnfLs=", "narHash": "sha256-HP89HZOT0ReIbI7IJZJQoJgxvB2Tn28V6XS3MNKnfLs=",
@ -102,8 +171,30 @@
"root": { "root": {
"inputs": { "inputs": {
"lix-module": "lix-module", "lix-module": "lix-module",
"nixos-cosmic": "nixos-cosmic",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs_2"
}
},
"rust-overlay": {
"inputs": {
"nixpkgs": [
"nixos-cosmic",
"nixpkgs"
]
},
"locked": {
"lastModified": 1728527353,
"narHash": "sha256-GY755PX8CbGH3O9iKqauhkFTdP9WSKcOfOkZBe3SOqw=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "94749eee5a2b351b6893d5bddb0a18f7f01251ac",
"type": "github"
},
"original": {
"owner": "oxalica",
"repo": "rust-overlay",
"type": "github"
} }
}, },
"systems": { "systems": {

View file

@ -4,6 +4,7 @@
inputs = { inputs = {
nixos-hardware.url = "github:NixOS/nixos-hardware/master"; nixos-hardware.url = "github:NixOS/nixos-hardware/master";
nixpkgs.url = "nixpkgs/nixos-unstable"; nixpkgs.url = "nixpkgs/nixos-unstable";
nixos-cosmic.url = "github:lilyinstarlight/nixos-cosmic";
lix-module = { lix-module = {
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.91.0.tar.gz"; url = "https://git.lix.systems/lix-project/nixos-module/archive/2.91.0.tar.gz";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
@ -13,7 +14,8 @@
outputs = { outputs = {
self, self,
nixos-hardware, nixos-hardware,
nixpkgs, nixpkgs,
nixos-cosmic,
lix-module, lix-module,
... ...
}@inputs: }@inputs:
@ -31,6 +33,7 @@
laptop = lib.nixosSystem { laptop = lib.nixosSystem {
inherit system; inherit system;
modules = [ modules = [
nixos-cosmic.nixosModules.default
nixos-hardware.nixosModules.framework-11th-gen-intel nixos-hardware.nixosModules.framework-11th-gen-intel
lix-module.nixosModules.default lix-module.nixosModules.default
./users.nix ./users.nix

View file

@ -19,6 +19,7 @@
]; ];
# Systemwide installed packages # Systemwide installed packages
systemPackages = with pkgs; [ systemPackages = with pkgs; [
glib
bottom bottom
curl curl
wget wget
@ -34,12 +35,18 @@
firefox firefox
thunderbird thunderbird
blackbox-terminal blackbox-terminal
processing
apostrophe apostrophe
onlyoffice-bin onlyoffice-bin
keepassxc keepassxc
stremio stremio
vesktop vesktop
signal-desktop signal-desktop
quickemu
spotify
vlc
inkscape
godot_4
]; ];
}; };

View file

@ -12,5 +12,9 @@
theme = "gnzh"; theme = "gnzh";
}; };
}; };
steam = {
enable = true;
};
}; };
} }

View file

@ -5,6 +5,7 @@
experimental-features = "nix-command flakes"; experimental-features = "nix-command flakes";
# Deduplicate and optimize nix store # Deduplicate and optimize nix store
auto-optimise-store = true; auto-optimise-store = true;
sandbox = false;
}; };
}; };