diff options
| author | BossCode45 <boss@tehbox.org> | 2025-05-09 11:27:42 +1200 |
|---|---|---|
| committer | BossCode45 <boss@tehbox.org> | 2025-05-09 11:30:29 +1200 |
| commit | 7072cf1bdf2b8e4183ccb0247d8c5fa266ae315f (patch) | |
| tree | cde5b9785060504e680b0e1acc468849dfd6145c /flake.nix | |
| parent | cd74ab83ed8215dfc87e538395ee9af56a56c893 (diff) | |
| download | nixos-configuration-7072cf1bdf2b8e4183ccb0247d8c5fa266ae315f.tar.gz nixos-configuration-7072cf1bdf2b8e4183ccb0247d8c5fa266ae315f.zip | |
Initial commit
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..1fcdd4b --- /dev/null +++ b/flake.nix @@ -0,0 +1,60 @@ +{ + description = "My nixos configuration"; + + inputs = { + nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11"; + home-manager = { + url = "github:nix-community/home-manager/release-24.11"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + stylix = { + url = "github:danth/stylix/release-24.11"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + spicetify-nix = { + url = "github:Gerg-L/spicetify-nix"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + YATwm = { + #url = "git+https://git.tehbox.org/cgit/boss/YATwm.git"; + url = "github:BossCode45/YATwm"; + #url = "git+file:///home/boss/Documents/Coding/WM/YATwm"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + nil = { + url = "github:oxalica/nil"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + polymc = { + url = "github:PolyMC/PolyMC"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + zen-browser = { + url = "github:MarceColl/zen-browser-flake"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + }; + + outputs = inputs@{ nixpkgs, ... }: { + nixosConfigurations = { + nixy = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + specialArgs = {inherit inputs;}; + modules = [ + ./configuration.nix + + inputs.home-manager.nixosModules.home-manager + { + home-manager.useGlobalPkgs = true; + home-manager.useUserPackages = true; + + home-manager.users.boss = import ./home-manager/home.nix; + home-manager.extraSpecialArgs = {inherit inputs;}; + } + + inputs.stylix.nixosModules.stylix + ]; + }; + }; + }; +} |
