Compare commits

...

4 Commits

3 changed files with 75 additions and 27 deletions

65
flake.lock generated
View File

@@ -33,6 +33,24 @@
"type": "github"
}
},
"catppuccin": {
"inputs": {
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1748080874,
"narHash": "sha256-sUebEzAkrY8Aq5G0GHFyRddmRNGP/a2iTtV7ISNvi/c=",
"owner": "catppuccin",
"repo": "nix",
"rev": "0ba11b12be81f0849a89ed17ab635164ea8f0112",
"type": "github"
},
"original": {
"owner": "catppuccin",
"repo": "nix",
"type": "github"
}
},
"flake-compat": {
"flake": false,
"locked": {
@@ -99,11 +117,11 @@
]
},
"locked": {
"lastModified": 1748487500,
"narHash": "sha256-PkOf6M/MIjpyJrQ9vGEePE0o1nLCcP9n9ONx4DFGudo=",
"lastModified": 1748627197,
"narHash": "sha256-7dTtcq4Yi78cHfZcJaxlqkNs+cDBotrHjR9mkXfiUz4=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "115344f32b56ae9581386bf0ab9e3df7adc92a82",
"rev": "379c9fb858ef9abe92d5590e7502a7c1387c076a",
"type": "github"
},
"original": {
@@ -180,17 +198,17 @@
"hyprlang": "hyprlang",
"hyprutils": "hyprutils",
"hyprwayland-scanner": "hyprwayland-scanner",
"nixpkgs": "nixpkgs",
"nixpkgs": "nixpkgs_2",
"pre-commit-hooks": "pre-commit-hooks",
"systems": "systems",
"xdph": "xdph"
},
"locked": {
"lastModified": 1748438403,
"narHash": "sha256-uNgR25LfmSOYQ1wNlC91UZ/avt+bmxZpwlqOYM6vI20=",
"lastModified": 1748611559,
"narHash": "sha256-APux5CTQ0wAIYEoxyWNrwDBz/ugjvKM8obCLTB3mk9s=",
"owner": "hyprwm",
"repo": "Hyprland",
"rev": "9bf1b491440eac6f9c0d6853013ad5666c12d1d9",
"rev": "9190443d951c21ab24201d033accf90b4d172f46",
"type": "github"
},
"original": {
@@ -372,6 +390,22 @@
}
},
"nixpkgs": {
"locked": {
"lastModified": 1744463964,
"narHash": "sha256-LWqduOgLHCFxiTNYi3Uj5Lgz0SR+Xhw3kr/3Xd0GPTM=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "2631b0b7abcea6e640ce31cd78ea58910d31e650",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1748026106,
"narHash": "sha256-6m1Y3/4pVw1RWTsrkAK2VMYSzG4MMIj7sqUy7o8th1o=",
@@ -387,13 +421,13 @@
"type": "github"
}
},
"nixpkgs_2": {
"nixpkgs_3": {
"locked": {
"lastModified": 1748370509,
"narHash": "sha256-QlL8slIgc16W5UaI3w7xHQEP+Qmv/6vSNTpoZrrSlbk=",
"lastModified": 1748460289,
"narHash": "sha256-7doLyJBzCllvqX4gszYtmZUToxKvMUrg45EUWaUYmBg=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "4faa5f5321320e49a78ae7848582f684d64783e9",
"rev": "96ec055edbe5ee227f28cdbc3f1ddf1df5965102",
"type": "github"
},
"original": {
@@ -412,11 +446,11 @@
"treefmt-nix": "treefmt-nix"
},
"locked": {
"lastModified": 1748486714,
"narHash": "sha256-yrxMTA3V2bbq4DI10TEIA+1nsnq2qo6sQujJpigaovQ=",
"lastModified": 1748634294,
"narHash": "sha256-p9AfgfvFD9B9YuAFx59dMaxuiKtB+X22TJyR8M0VEIk=",
"owner": "nix-community",
"repo": "NUR",
"rev": "fe7cbf5b87d8438040e37d400e4d1d8491d9ff76",
"rev": "c2636e5184b6b97afbb3696b15c4ae2524bf0481",
"type": "github"
},
"original": {
@@ -473,9 +507,10 @@
},
"root": {
"inputs": {
"catppuccin": "catppuccin",
"home-manager": "home-manager",
"hyprland": "hyprland",
"nixpkgs": "nixpkgs_2",
"nixpkgs": "nixpkgs_3",
"nur": "nur",
"plasma-manager": "plasma-manager"
}

View File

@@ -8,6 +8,7 @@
url = "github:nix-community/NUR";
inputs.nixpkgs.follows = "nixpkgs";
};
catppuccin.url = "github:catppuccin/nix";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
@@ -20,7 +21,7 @@
};
};
outputs = { self, nixpkgs, nur, home-manager, plasma-manager, ... }@inputs: {
outputs = { self, nixpkgs, catppuccin, nur, home-manager, plasma-manager, ... }@inputs: {
# Please replace my-nixos with your hostname
nixosConfigurations = {
anzu = nixpkgs.lib.nixosSystem {
@@ -33,13 +34,20 @@
./hosts/anzu/hardware-configuration.nix
# Add NUR overlay
nur.modules.nixos.default
# Add catppuccin
catppuccin.nixosModules.catppuccin
# Add home-manager
home-manager.nixosModules.home-manager
{
home-manager.backupFileExtension = "backup";
home-manager.useGlobalPkgs = true;
home-manager.sharedModules = [ plasma-manager.homeManagerModules.plasma-manager ];
home-manager.users.chase = ./home/home.nix;
home-manager.users.chase = {
imports = [
./home/home.nix
catppuccin.homeManagerModules.catppuccin
];
};
}
];
};
@@ -50,12 +58,18 @@
./configuration.nix
./hosts/ichigo/hardware-configuration.nix
nur.modules.nixos.default
catppuccin.nixosModules.catppuccin
home-manager.nixosModules.home-manager
{
home-manager.backupFileExtension = "backup";
home-manager.useGlobalPkgs = true;
home-manager.sharedModules = [ plasma-manager.homeManagerModules.plasma-manager ];
home-manager.users.chase = ./home/home.nix;
home-manager.users.chase = {
imports = [
./home/home.nix
catppuccin.homeManagerModules.catppuccin
];
};
}
];
};

View File

@@ -35,6 +35,11 @@
};
};
catppuccin = {
enable = true;
flavor = "mocha";
};
programs.alacritty = {
enable = true;
settings = {
@@ -45,7 +50,7 @@
};
};
};
theme = "catppuccin_mocha";
# theme = "catppuccin_mocha";
};
programs.bash = {
@@ -189,7 +194,7 @@
enableBashIntegration = true;
installVimSyntax = true;
settings = {
theme = "catppuccin-mocha";
# theme = "catppuccin-mocha";
font-family = "BlexMono Nerd Font";
font-size = 11;
};
@@ -206,13 +211,7 @@
programs.git-credential-oauth.enable = true;
programs.kitty = {
enable = true;
enableGitIntegration = true;
font.name = "IBM Plex Mono";
shellIntegration.enableBashIntegration = true;
themeFile = "Catppuccin-Mocha";
};
programs.htop.enable = true;
programs.mpv = {
enable = true;