It builds
This commit is contained in:
parent
27f45b8ebc
commit
5a27bcf255
10 changed files with 96 additions and 38 deletions
60
flake.lock
generated
60
flake.lock
generated
|
|
@ -1,5 +1,43 @@
|
|||
{
|
||||
"nodes": {
|
||||
"aagl": {
|
||||
"inputs": {
|
||||
"flake-compat": "flake-compat",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
],
|
||||
"rust-overlay": "rust-overlay"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1778493762,
|
||||
"narHash": "sha256-PG7vz7Dk3U3hB8OXtIS3bJ4QmJEw08ycFprJuAO7YS0=",
|
||||
"owner": "ezKEa",
|
||||
"repo": "aagl-gtk-on-nix",
|
||||
"rev": "75aac6845b47e913b53c2a0af7fd124fdb8fe84a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "ezKEa",
|
||||
"repo": "aagl-gtk-on-nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-compat": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1767039857,
|
||||
"narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=",
|
||||
"owner": "edolstra",
|
||||
"repo": "flake-compat",
|
||||
"rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "edolstra",
|
||||
"repo": "flake-compat",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-parts": {
|
||||
"inputs": {
|
||||
"nixpkgs-lib": "nixpkgs-lib"
|
||||
|
|
@ -82,12 +120,34 @@
|
|||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"aagl": "aagl",
|
||||
"flake-parts": "flake-parts",
|
||||
"import-tree": "import-tree",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"wrapper-modules": "wrapper-modules"
|
||||
}
|
||||
},
|
||||
"rust-overlay": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"aagl",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1777605393,
|
||||
"narHash": "sha256-Hjp0VOOHgHcTrX23iVvnfAudPcuCmfkfpQNFwv2v/ks=",
|
||||
"owner": "oxalica",
|
||||
"repo": "rust-overlay",
|
||||
"rev": "ff88db34cfa486fc4964a6991cab1678d82eee8c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "oxalica",
|
||||
"repo": "rust-overlay",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"wrapper-modules": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs_2"
|
||||
|
|
|
|||
|
|
@ -11,5 +11,11 @@
|
|||
aagl.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
outputs = inputs: inputs.flake-parts.lib.mkFlake {inherit inputs;} (inputs.import-tree ./modules);
|
||||
outputs = inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; } {
|
||||
systems = [ "x86_64-linux" ];
|
||||
imports = [
|
||||
inputs.wrapper-modules.flakeModules.default
|
||||
(inputs.import-tree ./modules)
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +0,0 @@
|
|||
{
|
||||
flake.nixosModules.alacritty = {
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
flake.nixosModules.git = {
|
||||
programs.git = {
|
||||
enable = true;
|
||||
settings = {
|
||||
config = {
|
||||
user = {
|
||||
name = "KnightArtorias";
|
||||
email = "booksandpi@gmail.com";
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{ inputs, ... }: {
|
||||
flakes.nixosModules.hsr = { config, lib, aagl, ... }: {
|
||||
imports = [ aagl.nixosModules.default ];
|
||||
flake.nixosModules.hsr = { config, pkgs, lib, ... }: {
|
||||
imports = [ inputs.aagl.nixosModules.default ];
|
||||
|
||||
nix.settings = aagl.nixConfig;
|
||||
nix.settings = inputs.aagl.nixConfig;
|
||||
|
||||
programs.honkers-railway-launcher.enable = true;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
flakes.nixosModules.fuzzel = { pkgs, ... }: {
|
||||
flake.nixosModules.fuzzel = { pkgs, ... }: {
|
||||
services.mako = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
flakes.nixosModules.zsh = {
|
||||
{
|
||||
flake.nixosModules.zsh = { pkgs, ... }: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
zsh
|
||||
oh-my-zsh
|
||||
|
|
|
|||
|
|
@ -1,13 +1,10 @@
|
|||
{ self, inputs, ... }: {
|
||||
flake.nixosModules.crowConfiguration = { pkgs, lib, ... }: {
|
||||
inherit inputs;
|
||||
|
||||
flake.nixosModules.crowConfiguration = { pkgs, ... }: {
|
||||
imports = [
|
||||
self.nixosModules.crowHardware
|
||||
self.nixosModules.nest
|
||||
|
||||
self.nixosModules.niri
|
||||
self.nixosModules.alacritty
|
||||
self.nixosModules.git
|
||||
self.nixosModules.gdm
|
||||
self.nixosModules.hsr
|
||||
|
|
@ -23,7 +20,7 @@
|
|||
prismlauncher
|
||||
kubectl
|
||||
kompose
|
||||
openlens
|
||||
lens
|
||||
htop
|
||||
zip
|
||||
unzip
|
||||
|
|
@ -32,14 +29,22 @@
|
|||
neovim
|
||||
wget
|
||||
pciutils
|
||||
alacritty
|
||||
brave
|
||||
lutris
|
||||
vesktop
|
||||
steam
|
||||
];
|
||||
|
||||
programs = {
|
||||
brave.enable = true;
|
||||
lutris.enable = true;
|
||||
vesktop.enable = true;
|
||||
steam.enable = true;
|
||||
};
|
||||
nixpkgs.overlays = [
|
||||
# Open LDAP currently has a problem
|
||||
# with one of the tests. Just disable it
|
||||
(final: prev: {
|
||||
openldap = prev.openldap.overrideAttrs (oldAttrs: {
|
||||
doCheck = false;
|
||||
});
|
||||
})
|
||||
];
|
||||
|
||||
networking.networkmanager.enable = true;
|
||||
networking.hostName = "crow";
|
||||
|
|
@ -78,12 +83,16 @@
|
|||
];
|
||||
};
|
||||
|
||||
nix.settings.experimental-features = [ "nix-commands" "flakes" ];
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
nix.settings.auto-optimise-store = true;
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 30d";
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
system.stateVersion = "26.05";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{ self, inputs, ... }: {
|
||||
flake.nixosConfigurations.crow = inputs.nixpkgs.lib.nixosSystem {
|
||||
modules= [ self.nixosModules.crowConfiguration ];
|
||||
modules = [ self.nixosModules.crowConfiguration ];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
10
parts.nix
10
parts.nix
|
|
@ -1,10 +0,0 @@
|
|||
{
|
||||
config = {
|
||||
systems = [
|
||||
"x86_64-linux"
|
||||
"x86_64-darwin"
|
||||
"aarch64-linux"
|
||||
"aarch64-darwin"
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue