Compare commits

...

4 Commits

Author SHA1 Message Date
Dave Gallant
4cdfcd7df7 Remove oh-my-zsh plugins 2024-03-10 16:34:15 -04:00
Dave Gallant
a489027744 Cleanup duplicate packages 2024-03-10 13:11:40 -04:00
Dave Gallant
b21ecbdb3b Remove defaultModules 2024-03-10 13:01:45 -04:00
Dave Gallant
80119dd363 Remove nix-ld repo 2024-03-10 12:57:47 -04:00
4 changed files with 51 additions and 98 deletions

44
flake.lock generated
View File

@@ -138,24 +138,6 @@
"type": "github" "type": "github"
} }
}, },
"nix-ld": {
"inputs": {
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1701153607,
"narHash": "sha256-h+odOVyiGmEERMECoFOj5P7FPiMR8IPRzroFA4sKivg=",
"owner": "Mic92",
"repo": "nix-ld",
"rev": "bf5aa84a713c31d95b4307e442e966d6c7fd7ae7",
"type": "github"
},
"original": {
"owner": "Mic92",
"repo": "nix-ld",
"type": "github"
}
},
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1709410583, "lastModified": 1709410583,
@@ -173,15 +155,16 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1686752049, "lastModified": 1710021367,
"narHash": "sha256-GtSbXZ6ia/o+f/I5O/5ee8HGmKuwQWZhtyd2u5y5TOk=", "narHash": "sha256-FuMVdWqXMT38u1lcySYyv93A7B8wU0EGzUr4t4jQu8g=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "eafbb465a91939b9a47bc05fcef0f948903755c1", "rev": "b94a96839afcc56de3551aa7472b8d9a3e77e05d",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-23.11",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
@@ -218,22 +201,6 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_2": {
"locked": {
"lastModified": 1710021367,
"narHash": "sha256-FuMVdWqXMT38u1lcySYyv93A7B8wU0EGzUr4t4jQu8g=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "b94a96839afcc56de3551aa7472b8d9a3e77e05d",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-23.11",
"repo": "nixpkgs",
"type": "github"
}
},
"nixvim": { "nixvim": {
"inputs": { "inputs": {
"beautysh": "beautysh", "beautysh": "beautysh",
@@ -314,9 +281,8 @@
"inputs": { "inputs": {
"darwin": "darwin", "darwin": "darwin",
"home-manager": "home-manager", "home-manager": "home-manager",
"nix-ld": "nix-ld",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs",
"nixpkgs-unstable": "nixpkgs-unstable", "nixpkgs-unstable": "nixpkgs-unstable",
"nixvim": "nixvim" "nixvim": "nixvim"
} }

View File

@@ -8,8 +8,6 @@
home-manager.url = "github:nix-community/home-manager/release-23.11"; home-manager.url = "github:nix-community/home-manager/release-23.11";
home-manager.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs";
nix-ld.url = "github:Mic92/nix-ld";
nixos-hardware.url = "github:NixOS/nixos-hardware"; nixos-hardware.url = "github:NixOS/nixos-hardware";
darwin = { darwin = {
@@ -30,22 +28,27 @@
, nixpkgs , nixpkgs
, nixpkgs-unstable , nixpkgs-unstable
, nixos-hardware , nixos-hardware
, nix-ld
, ... , ...
} @ inputs: { } @ inputs: {
nixosConfigurations = nixosConfigurations =
let let
modulesDir = ./modules;
unstable = import nixpkgs-unstable { unstable = import nixpkgs-unstable {
system = "x86_64-linux"; system = "x86_64-linux";
config.allowUnfree = true; config.allowUnfree = true;
config.permittedInsecurePackages = [ ]; config.permittedInsecurePackages = [ ];
}; };
defaultModules = [ in
home-manager.nixosModules.home-manager {
hephaestus = nixpkgs.lib.nixosSystem {
specialArgs = { inherit unstable; };
modules =
[
./fonts.nix ./fonts.nix
./machines/hephaestus/configuration.nix
./packages.nix ./packages.nix
./services/netdata/default.nix
./upgrade-diff.nix ./upgrade-diff.nix
home-manager.nixosModules.home-manager
({ config ({ config
, lib , lib
@@ -88,16 +91,6 @@
}; };
}) })
]; ];
in
{
hephaestus = nixpkgs.lib.nixosSystem {
specialArgs = { inherit unstable; };
modules =
[
./machines/hephaestus/configuration.nix
./services/netdata/default.nix
]
++ defaultModules;
}; };
}; };

View File

@@ -183,11 +183,6 @@ in
"oh-my-zsh" = { "oh-my-zsh" = {
enable = true; enable = true;
plugins = [
"gitfast"
"last-working-dir"
"tmux"
];
}; };
}; };

View File

@@ -238,7 +238,6 @@ in
podman podman
psst psst
qemu qemu
rustup
strace strace
tailscale tailscale
traceroute traceroute