This commit is contained in:
Daylin Morgan 2023-01-17 03:43:58 -06:00
parent 67a1317e13
commit 64293ab8bf
5 changed files with 10 additions and 98 deletions

View file

@ -1,54 +1,12 @@
{ {
"nodes": { "nodes": {
"hyprland": {
"inputs": {
"nixpkgs": [
"nixpkgs"
],
"wlroots": "wlroots"
},
"locked": {
"lastModified": 1669054465,
"narHash": "sha256-4xBCexof83T4eFR2EP6HGfpHGLPJf3x6hsWt8LlhIHU=",
"owner": "hyprwm",
"repo": "Hyprland",
"rev": "d504c1e5ab84bcbf7648350e867ccdda9b38b9c4",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "Hyprland",
"type": "github"
}
},
"nix-ld": {
"inputs": {
"nixpkgs": [
"nixpkgs"
],
"utils": "utils"
},
"locked": {
"lastModified": 1652641841,
"narHash": "sha256-TTBz20XR2vmvOSDu8hXcbHbOEI0t/IWq8vZuRKyep1E=",
"owner": "Mic92",
"repo": "nix-ld",
"rev": "c25cc4b5ec65f03c2bb96f927ae724a59c51d7ee",
"type": "github"
},
"original": {
"owner": "Mic92",
"repo": "nix-ld",
"type": "github"
}
},
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1668132053, "lastModified": 1673948162,
"narHash": "sha256-eQ2/vjxbkEJmG1YJu58TK8S/AEB52MKrXPy5IhTH6nE=", "narHash": "sha256-g42vnm7dzVkb+l1Rzkyv1ttHto889ApbEq7DVb/faw8=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "34f89bcce8711acb0e4de1203ed078b7976e08b2", "rev": "682381bf3f24c4d2ddeace757ce506c69b8f7c07",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -60,43 +18,8 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"hyprland": "hyprland",
"nix-ld": "nix-ld",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
} }
},
"utils": {
"locked": {
"lastModified": 1652372896,
"narHash": "sha256-lURGussfF3mGrFPQT3zgW7+RC0pBhbHzco0C7I+ilow=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "0d347c56f6f41de822a4f4c7ff5072f3382db121",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"wlroots": {
"flake": false,
"locked": {
"host": "gitlab.freedesktop.org",
"lastModified": 1668785720,
"narHash": "sha256-CX+PYJP2PxZWL380WzyMNsrfRgIb/78brdwvDg/zj28=",
"owner": "wlroots",
"repo": "wlroots",
"rev": "4ff46e6cf9463e594605928feeb7c55cf323b5e7",
"type": "gitlab"
},
"original": {
"host": "gitlab.freedesktop.org",
"owner": "wlroots",
"repo": "wlroots",
"type": "gitlab"
}
} }
}, },
"root": "root", "root": "root",

View file

@ -3,15 +3,6 @@
inputs = { inputs = {
nixpkgs = { url = "github:nixos/nixpkgs/master"; }; nixpkgs = { url = "github:nixos/nixpkgs/master"; };
nix-ld = {
url = "github:Mic92/nix-ld";
inputs.nixpkgs.follows = "nixpkgs";
};
hyprland = {
url = "github:hyprwm/Hyprland";
# build with your own instance of nixpkgs
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
@ -22,14 +13,10 @@
nixos-vm = inputs.nixpkgs.lib.nixosSystem { nixos-vm = inputs.nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
./configuration.nix ./modules/configuration.nix
./overlays.nix ./modules/overlays.nix
./environment.nix ./modules/environment.nix
inputs.hyprland.nixosModules.default
{ programs.hyprland.enable = true; }
inputs.nix-ld.nixosModules.nix-ld
]; ];
specialArgs = { inherit inputs; };
}; };
}; };
}; };

View file

@ -18,7 +18,9 @@
time.timeZone = "America/Chicago"; time.timeZone = "America/Chicago";
programs.zsh.enable = true; programs.zsh.enable = true;
# overwrite demo as default login
programs.nix-ld.enable = true;
services.xserver = { services.xserver = {
enable = true; enable = true;
displayManager.startx.enable = true; displayManager.startx.enable = true;