Compare commits

..

No commits in common. "ab6cbc0cdcc7ba30c629c6937d89b82de2a3e00d" and "fce3afaa65370c9a3b76b58c31cfd82aec1282c0" have entirely different histories.

2 changed files with 77 additions and 52 deletions

View File

@ -14,62 +14,90 @@
flake-utils.url = "github:numtide/flake-utils"; flake-utils.url = "github:numtide/flake-utils";
utils.url = "github:gytis-ivaskevicius/flake-utils-plus"; utils = {
utils.inputs.flake-utils.follows = "flake-utils"; url = "github:gytis-ivaskevicius/flake-utils-plus";
inputs.flake-utils.follows = "flake-utils";
};
agenix.url = "github:ryantm/agenix"; agenix = {
agenix.inputs.nixpkgs.follows = "nixpkgs"; url = "github:ryantm/agenix";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager.url = "github:nix-community/home-manager"; home-manager = {
home-manager.inputs.nixpkgs.follows = "nixpkgs"; url = "github:nix-community/home-manager";
home-manager.inputs.utils.follows = "flake-utils"; inputs.nixpkgs.follows = "nixpkgs";
inputs.utils.follows = "flake-utils";
};
# Zsh specific # Zsh specific
forgit-git.url = "github:wfxr/forgit"; forgit-git = {
forgit-git.flake = false; url = "github:wfxr/forgit";
flake = false;
};
# Laptop Touchpad # Laptop Touchpad
asus-touchpad-numpad-driver.url = "github:MoritzBoehme/asus-touchpad-numpad-driver/german-layout"; asus-touchpad-numpad-driver = {
asus-touchpad-numpad-driver.flake = false; url = "github:MoritzBoehme/asus-touchpad-numpad-driver/german-layout";
flake = false;
};
arkenfox-userjs.url = "github:arkenfox/user.js"; arkenfox-userjs = {
arkenfox-userjs.flake = false; url = "github:arkenfox/user.js";
flake = false;
};
howdy.url = "sourcehut:~moritzboehme/howdy"; howdy = {
howdy.inputs.nixpkgs.follows = "nixpkgs"; url = "sourcehut:~moritzboehme/howdy";
inputs.nixpkgs.follows = "nixpkgs";
};
emacs.url = "git+ssh://git@gitea.moritzboeh.me/moritz/emacs.git?ref=main"; emacs.url = "git+ssh://git@gitea.moritzboeh.me/moritz/emacs.git?ref=main";
neovim.url = "github:neovim/neovim?dir=contrib"; neovim.url = "github:neovim/neovim?dir=contrib";
nil.url = "github:oxalica/nil"; nil = {
nil.inputs.nixpkgs.follows = "nixpkgs"; url = "github:oxalica/nil";
nil.inputs.flake-utils.follows = "flake-utils"; inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
};
# Hyprland # Hyprland
hyprland.url = "github:hyprwm/Hyprland"; hyprland.url = "github:hyprwm/Hyprland";
hyprpaper.url = "github:hyprwm/hyprpaper"; hyprpaper.url = "github:hyprwm/hyprpaper";
hypr-contrib.url = "github:hyprwm/contrib"; hypr-contrib.url = "github:hyprwm/contrib";
nvim-treesitter-textsubjects.url = "github:RRethy/nvim-treesitter-textsubjects"; nvim-treesitter-textsubjects = {
nvim-treesitter-textsubjects.flake = false; url = "github:RRethy/nvim-treesitter-textsubjects";
flake = false;
};
smartcolumn-nvim.url = "github:m4xshen/smartcolumn.nvim"; smartcolumn-nvim = {
smartcolumn-nvim.flake = false; url = "github:m4xshen/smartcolumn.nvim";
flake = false;
};
copilot-lua.url = "github:zbirenbaum/copilot.lua"; copilot-lua = {
copilot-lua.flake = false; url = "github:zbirenbaum/copilot.lua";
flake = false;
};
lspsaga-nvim.url = "github:glepnir/lspsaga.nvim"; lspsaga-nvim = {
lspsaga-nvim.flake = false; url = "github:glepnir/lspsaga.nvim";
flake = false;
};
advanced-git-search-nvim.url = "github:aaronhallaert/advanced-git-search.nvim"; advanced-git-search-nvim = {
advanced-git-search-nvim.flake = false; url = "github:aaronhallaert/advanced-git-search.nvim";
flake = false;
};
attic.url = "github:zhaofengli/attic"; attic = {
attic.inputs.nixpkgs.follows = "nixpkgs"; url = "github:zhaofengli/attic";
attic.inputs.nixpkgs-stable.follows = "stable"; inputs.nixpkgs.follows = "nixpkgs";
attic.inputs.flake-utils.follows = "flake-utils"; inputs.nixpkgs-stable.follows = "stable";
inputs.flake-utils.follows = "flake-utils";
};
}; };
outputs = outputs =
@ -117,8 +145,8 @@
./modules/profiles/gaming.nix ./modules/profiles/gaming.nix
./modules/profiles/desktop.nix ./modules/profiles/desktop.nix
]; ];
hostDefaults = {
hostDefaults.modules = [ modules = [
./modules/default.nix ./modules/default.nix
self.nixosModules.base self.nixosModules.base
inputs.home-manager.nixosModule inputs.home-manager.nixosModule
@ -133,7 +161,7 @@
inputs.agenix.nixosModules.age inputs.agenix.nixosModules.age
inputs.howdy.nixosModules.default inputs.howdy.nixosModules.default
]; ];
};
hosts.nixos-laptop.modules = [ hosts.nixos-laptop.modules = [
./hosts/nixos-laptop ./hosts/nixos-laptop

View File

@ -11,11 +11,9 @@
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "rtsx_pci_sdmmc" ]; boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.initrd.systemd.enable = true;
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = { fileSystems."/" = {
device = "/dev/disk/by-uuid/4a91d3eb-1633-42d9-8304-c10e49a61154"; device = "/dev/disk/by-uuid/4a91d3eb-1633-42d9-8304-c10e49a61154";
fsType = "btrfs"; fsType = "btrfs";
@ -23,7 +21,6 @@
}; };
boot.initrd.luks.devices."enc".device = "/dev/disk/by-uuid/078b81ba-238e-471d-9951-b743588532b8"; boot.initrd.luks.devices."enc".device = "/dev/disk/by-uuid/078b81ba-238e-471d-9951-b743588532b8";
boot.initrd.luks.devices."enc".crypttabExtraOpts = [ "fido2-device=auto" ];
fileSystems."/log" = { fileSystems."/log" = {
device = "/dev/disk/by-uuid/4a91d3eb-1633-42d9-8304-c10e49a61154"; device = "/dev/disk/by-uuid/4a91d3eb-1633-42d9-8304-c10e49a61154";