move things around

This commit is contained in:
LavaDesu 2021-05-26 21:05:59 +07:00
parent 63b9b81ebe
commit c9f0f903a3
Signed by: cilly
GPG key ID: 6500251E087653C9
26 changed files with 9 additions and 8 deletions

View file

@ -13,10 +13,9 @@
system.configurationRevision = nixpkgs.lib.mkIf (self ? rev) self.rev; system.configurationRevision = nixpkgs.lib.mkIf (self ? rev) self.rev;
nix.registry.nixpkgs.flake = nixpkgs; nix.registry.nixpkgs.flake = nixpkgs;
}; };
hm-module = { hm-base = {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
home-manager.users.rin = import ./cfg/winter/rin/home.nix; # TODO: decoupling
}; };
overlays = { overlays = {
linux = import ./overlays/linux.nix; linux = import ./overlays/linux.nix;
@ -40,8 +39,9 @@
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
base base
./cfg/winter home-manager.nixosModules.home-manager
home-manager.nixosModules.home-manager hm-module hm-base
./hosts/winter
secrets.nixosModules.winter secrets.nixosModules.winter
]; ];
specialArgs = { inherit inputs overlays; }; specialArgs = { inherit inputs overlays; };

View file

@ -21,7 +21,7 @@
./packages.nix ./packages.nix
./security.nix ./security.nix
./rin ../../users/rin
]; ];
nix = { nix = {
package = pkgs.nixUnstable; package = pkgs.nixUnstable;

View file

@ -23,9 +23,9 @@ self: super: {
}; };
in { in {
inherit (super) lib stdenv; inherit (super) lib stdenv;
version = "${major}.${minor}.${patch}-tkg-Lava"; version = "${mmp}-tkg-Lava";
allowImportFromDerivation = true; allowImportFromDerivation = true;
configfile = ./kernel.config; configfile = ./misc/kernel.config;
isZen = true; isZen = true;
src = kernelUrl "linux-${mm}.tar" "1d37w0zvmf8c1l99xvy1hy6p55icjhmbsv7f0amxy2nly1a7pw04"; src = kernelUrl "linux-${mm}.tar" "1d37w0zvmf8c1l99xvy1hy6p55icjhmbsv7f0amxy2nly1a7pw04";

View file

@ -7,6 +7,6 @@ self: super: {
rev = "b90e0c4e7cea9acc2c9e89bc4afe873086bbd8a1"; rev = "b90e0c4e7cea9acc2c9e89bc4afe873086bbd8a1";
sha256 = "11adhgd8zavz4c9yzj0m5570fq7wv6am2wq4j9xkz2655fw2412l"; sha256 = "11adhgd8zavz4c9yzj0m5570fq7wv6am2wq4j9xkz2655fw2412l";
}; };
patches = [ ./winetricks.patch ]; patches = [ ./misc/winetricks.patch ];
}); });
} }

View file

@ -5,4 +5,5 @@
shell = pkgs.zsh; shell = pkgs.zsh;
uid = 1001; uid = 1001;
}; };
home-manager.users.rin = import ./home.nix;
} }