This commit is contained in:
Matt Nish-Lapidus 2024-12-07 13:33:22 -05:00
parent 206601a286
commit 2befc80c82
4 changed files with 15 additions and 12 deletions

12
flake.lock generated
View file

@ -28,11 +28,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1733482664, "lastModified": 1733572789,
"narHash": "sha256-ZD+h1fwvZs+Xvg46lzTWveAqyDe18h9m7wZnTIJfFZ4=", "narHash": "sha256-zjO6m5BqxXIyjrnUziAzk4+T4VleqjstNudSqWcpsHI=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "e38d3dd1d355a003cc63e8fe6ff66ef2257509ed", "rev": "c7ffc9727d115e433fd884a62dc164b587ff651d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -190,11 +190,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1733261153, "lastModified": 1733412085,
"narHash": "sha256-eq51hyiaIwtWo19fPEeE0Zr2s83DYMKJoukNLgGGpek=", "narHash": "sha256-FillH0qdWDt/nlO6ED7h4cmN+G9uXwGjwmCnHs0QVYM=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b681065d0919f7eb5309a93cea2cfa84dec9aa88", "rev": "4dc2fc4e62dbf62b84132fe526356fbac7b03541",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -34,10 +34,14 @@
nix-ld.inputs.nixpkgs.follows = "nixpkgs"; nix-ld.inputs.nixpkgs.follows = "nixpkgs";
}; };
outputs = inputs @ {nixpkgs, nixpkgs-unstable, home-manager, audio, nix-flatpak, kmonad, musnix, nix-ld, ... }: { outputs = {nixpkgs, nixpkgs-unstable, home-manager, audio, nix-flatpak, kmonad, musnix, nix-ld, self, ... } @ inputs: {
# packages.x86_64-linux.default = nixpkgs.legacyPackages.x86_64-linux;
nixosConfigurations = { nixosConfigurations = {
eddie = nixpkgs.lib.nixosSystem { eddie = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = { inherit inputs; }; # Pass flake inputs to our config
modules = [ modules = [
nix-flatpak.nixosModules.nix-flatpak nix-flatpak.nixosModules.nix-flatpak
kmonad.nixosModules.default kmonad.nixosModules.default
@ -50,10 +54,7 @@
homeConfigurations = { homeConfigurations = {
home-manager.useGlobalPkgs = true; emenel = home-manager.lib.homeManagerConfiguration {
home-manager.useUserPackages = true;
"emenel" = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.x86_64-linux; pkgs = nixpkgs.legacyPackages.x86_64-linux;
extraSpecialArgs = { extraSpecialArgs = {
inherit inputs; inherit inputs;

View file

@ -237,6 +237,7 @@
solaar solaar
logitech-udev-rules logitech-udev-rules
opensnitch
thunderbird-latest thunderbird-latest
emojify emojify
smile smile
@ -562,6 +563,7 @@
arguments = ["-n" "-r"]; arguments = ["-n" "-r"];
}; };
}; };
opensnitch-ui.enable = true;
}; };
xdg.systemDirs.data = [ xdg.systemDirs.data = [

View file

@ -176,7 +176,7 @@
nix.gc.automatic = true; nix.gc.automatic = true;
nix.gc.dates = "daily"; nix.gc.dates = "daily";
nix.gc.options = "--delete-older-than +5"; nix.gc.options = "--delete-older-than +3";
services.xserver.enable = true; services.xserver.enable = true;