1
0
Fork 0

Compare commits

..

2 commits

3 changed files with 35 additions and 10 deletions

17
flake.lock generated
View file

@ -162,6 +162,22 @@
"type": "github" "type": "github"
} }
}, },
"nixos-hardware": {
"locked": {
"lastModified": 1757103352,
"narHash": "sha256-PtT7ix43ss8PONJ1VJw3f6t2yAoGH+q462Sn8lrmWmk=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "11b2a10c7be726321bb854403fdeec391e798bf0",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "master",
"repo": "nixos-hardware",
"type": "github"
}
},
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1741379970, "lastModified": 1741379970,
@ -199,6 +215,7 @@
"agenix": "agenix", "agenix": "agenix",
"flake-utils": "flake-utils_2", "flake-utils": "flake-utils_2",
"home-manager": "home-manager_2", "home-manager": "home-manager_2",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2"
} }
}, },

View file

@ -12,17 +12,22 @@
flake-utils.url = "github:numtide/flake-utils"; flake-utils.url = "github:numtide/flake-utils";
agenix.url = "github:yaxitech/ragenix"; agenix.url = "github:yaxitech/ragenix";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
}; };
outputs = { self, nixpkgs, home-manager, flake-utils, agenix, ... }@inputs: outputs = { self, nixpkgs, home-manager, flake-utils, agenix, nixos-hardware
let inherit (self) outputs; , ... }@inputs:
let
coreModules =
[ home-manager.nixosModules.default agenix.nixosModules.default ];
inherit (self) outputs;
in { in {
nixosConfigurations.minji = nixpkgs.lib.nixosSystem { nixosConfigurations.minji = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = { inputs = inputs; }; specialArgs = { inputs = inputs; };
modules = [ modules = coreModules ++ [
home-manager.nixosModules.default nixos-hardware.nixosModules.framework-16-7040-amd
agenix.nixosModules.default
./nix/hosts/common/sys.nix ./nix/hosts/common/sys.nix
./nix/hosts/minji/sys.nix ./nix/hosts/minji/sys.nix
]; ];
@ -31,7 +36,7 @@
nixosConfigurations.chaewon = nixpkgs.lib.nixosSystem { nixosConfigurations.chaewon = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = { inputs = inputs; }; specialArgs = { inputs = inputs; };
modules = [ modules = coreModules ++ [
home-manager.nixosModules.default home-manager.nixosModules.default
agenix.nixosModules.default agenix.nixosModules.default
./nix/hosts/common/sys.nix ./nix/hosts/common/sys.nix

View file

@ -151,12 +151,11 @@
}; };
}; };
# Window Manager
programs.niri.enable = true;
programs.xwayland.enable = true;
services.swaynotificationcenter.enable = true; services.swaynotificationcenter.enable = true;
## Battery
services.power-profiles-daemon.enable = true;
services.tailscale = { services.tailscale = {
enable = true; enable = true;
useRoutingFeatures = "client"; useRoutingFeatures = "client";
@ -173,6 +172,10 @@
}; };
# Programs # Programs
## Window Manager
programs.niri.enable = true;
programs.xwayland.enable = true;
programs.kdeconnect = { programs.kdeconnect = {
enable = true; enable = true;
package = pkgs.kdePackages.kdeconnect-kde; package = pkgs.kdePackages.kdeconnect-kde;