updates from makefile

This commit is contained in:
Don Harper 2024-04-18 07:03:06 -05:00
parent ab8485e7a5
commit cece7c1c0f
3 changed files with 11 additions and 46 deletions

51
flake.lock generated
View file

@ -1,23 +1,5 @@
{
"nodes": {
"disko": {
"inputs": {
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1712798444,
"narHash": "sha256-aAksVB7zMfBQTz0q2Lw3o78HM3Bg2FRziX2D6qnh+sk=",
"owner": "nix-community",
"repo": "disko",
"rev": "a297cb1cb0337ee10a7a0f9517954501d8f6f74d",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "disko",
"type": "github"
}
},
"flake-compat": {
"flake": false,
"locked": {
@ -93,7 +75,7 @@
"inputs": {
"flake-compat": "flake-compat",
"libgit2": "libgit2",
"nixpkgs": "nixpkgs_2",
"nixpkgs": "nixpkgs",
"nixpkgs-regression": "nixpkgs-regression"
},
"locked": {
@ -127,16 +109,16 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1712757991,
"narHash": "sha256-kR7C7Fqt3JP40h0mzmSZeWI5pk1iwqj4CSeGjnUbVHc=",
"lastModified": 1709083642,
"narHash": "sha256-7kkJQd4rZ+vFrzWu8sTRtta5D1kBG0LSRYAfhtmMlSo=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "d6b3ddd253c578a7ab98f8011e59990f21dc3932",
"rev": "b550fe4b4776908ac2a861124307045f8e717c8e",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"ref": "release-23.11",
"repo": "nixpkgs",
"type": "github"
}
@ -176,22 +158,6 @@
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1709083642,
"narHash": "sha256-7kkJQd4rZ+vFrzWu8sTRtta5D1kBG0LSRYAfhtmMlSo=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "b550fe4b4776908ac2a861124307045f8e717c8e",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "release-23.11",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_3": {
"locked": {
"lastModified": 1712778888,
"narHash": "sha256-JTssetEdUSdocmrq8UCIRr414fhQp1errtarYqo9IYs=",
@ -207,7 +173,7 @@
"type": "github"
}
},
"nixpkgs_4": {
"nixpkgs_3": {
"locked": {
"lastModified": 1695644571,
"narHash": "sha256-asS9dCCdlt1lPq0DLwkVBbVoEKuEuz+Zi3DG7pR/RxA=",
@ -225,17 +191,16 @@
},
"root": {
"inputs": {
"disko": "disko",
"home-manager": "home-manager",
"nix": "nix",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_3",
"nixpkgs": "nixpkgs_2",
"wayland-pipewire-idle-inhibit": "wayland-pipewire-idle-inhibit"
}
},
"treefmt-nix": {
"inputs": {
"nixpkgs": "nixpkgs_4"
"nixpkgs": "nixpkgs_3"
},
"locked": {
"lastModified": 1704649711,

View file

@ -1,6 +1,5 @@
{
inputs = {
disko.url = "github:nix-community/disko";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable-small";
home-manager = {
@ -17,7 +16,6 @@
self,
nixpkgs,
nix,
disko,
nixos-hardware,
home-manager,
wayland-pipewire-idle-inhibit,
@ -113,7 +111,6 @@
};
# test system
# use this for a blank ISO + disko to work
nixos = lib.nixosSystem {
modules = [ ./hosts/nixos ];
specialArgs = { inherit inputs outputs; };

View file

@ -1,4 +1,7 @@
{ inputs, pkgs, hostname, outputs, ... }:
# let
# hostname = config.networking.hostName;
# in
{
xdg.configFile."sway/config".source = files/sway/default;
# xdg.configFile."sway/config".source = files/sway/${inputs.networking.hostName};