refactor: remove unneeded imports, modularize, add catpuccin input
This commit is contained in:
parent
f41244b580
commit
47486140c1
4 changed files with 30 additions and 9 deletions
16
flake.lock
16
flake.lock
|
|
@ -1,5 +1,20 @@
|
|||
{
|
||||
"nodes": {
|
||||
"catppuccin": {
|
||||
"locked": {
|
||||
"lastModified": 1728407414,
|
||||
"narHash": "sha256-B8LaxUP93eh+it8RW1pGq4SsU2kj7f0ipzFuhBvpON8=",
|
||||
"owner": "catppuccin",
|
||||
"repo": "nix",
|
||||
"rev": "96cf8b4a05fb23a53c027621b1147b5cf9e5439f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "catppuccin",
|
||||
"repo": "nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"home-manager": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
|
|
@ -54,6 +69,7 @@
|
|||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"catppuccin": "catppuccin",
|
||||
"home-manager": "home-manager",
|
||||
"nixos-hardware": "nixos-hardware",
|
||||
"nixpkgs": "nixpkgs"
|
||||
|
|
|
|||
10
flake.nix
10
flake.nix
|
|
@ -8,24 +8,20 @@
|
|||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||
catppuccin.url = "github:catppuccin/nix";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, nixos-hardware, ... } @ inputs: {
|
||||
nixosConfigurations.rhea-laptop = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit inputs; };
|
||||
|
||||
system = "x86_64-linux";
|
||||
system = "x86_64-linux";
|
||||
|
||||
# List all Modules to load
|
||||
modules = [
|
||||
nixos-hardware.nixosModules.framework-13-7040-amd
|
||||
./modules/configuration.nix
|
||||
./modules/hardware-configuration.nix
|
||||
./modules/shell.nix
|
||||
./modules/wayland.nix
|
||||
./modules/fingerprint.nix
|
||||
./modules
|
||||
./home
|
||||
# ./modules/hyprland.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ config, pkgs, ... }:
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
# Bootloader.
|
||||
|
|
@ -68,7 +68,6 @@
|
|||
# wget
|
||||
google-chrome
|
||||
fprintd
|
||||
#home-manager
|
||||
];
|
||||
|
||||
environment.sessionVariables = {
|
||||
|
|
|
|||
10
modules/default.nix
Normal file
10
modules/default.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
imports = [
|
||||
./configuration.nix
|
||||
./hardware-configuration.nix
|
||||
./fingerprint.nix
|
||||
./hyprland.nix
|
||||
./shell.nix
|
||||
./wayland.nix
|
||||
];
|
||||
}
|
||||
Loading…
Reference in a new issue