Compare commits
No commits in common. "543c46af11eede4fbc77efb0808cc836822b69c0" and "2cae64c7610ddc1a192a3ea65ccde50f27cd6366" have entirely different histories.
543c46af11
...
2cae64c761
3 changed files with 3 additions and 115 deletions
82
flake.nix
82
flake.nix
|
@ -81,85 +81,6 @@
|
||||||
imports = [
|
imports = [
|
||||||
./home-manager/cswimr.nix
|
./home-manager/cswimr.nix
|
||||||
./home-manager/vscode.nix
|
./home-manager/vscode.nix
|
||||||
{
|
|
||||||
programs.git.extraConfig.user.signingkey = "0EC431A8DA8F8087";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
nebula = nixpkgs.lib.nixosSystem {
|
|
||||||
system = system;
|
|
||||||
specialArgs = {
|
|
||||||
inherit inputs;
|
|
||||||
inherit pkgs;
|
|
||||||
system = system;
|
|
||||||
hostname = "nebula";
|
|
||||||
};
|
|
||||||
modules = [
|
|
||||||
# imports
|
|
||||||
./hosts/nebula.nix
|
|
||||||
./nixos/catppuccin.nix
|
|
||||||
./nixos/configuration.nix
|
|
||||||
./nixos/development.nix
|
|
||||||
./nixos/environment.nix
|
|
||||||
./nixos/gaming.nix
|
|
||||||
./nixos/git.nix
|
|
||||||
./nixos/gui-pkgs.nix
|
|
||||||
./nixos/nvim.nix
|
|
||||||
./nixos/pkg.nix
|
|
||||||
./nixos/shell.nix
|
|
||||||
./nixos/sudo.nix
|
|
||||||
./nixos/symlinks.nix
|
|
||||||
./nixos/tailscale.nix
|
|
||||||
|
|
||||||
{
|
|
||||||
# enable bluetooth
|
|
||||||
hardware.bluetooth.enable = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
inputs.nixvim.nixosModules.nixvim
|
|
||||||
inputs.nix-flatpak.nixosModules.nix-flatpak
|
|
||||||
|
|
||||||
# Catppuccin theme
|
|
||||||
inputs.catppuccin.nixosModules.catppuccin
|
|
||||||
{
|
|
||||||
catppuccin.enable = true;
|
|
||||||
catppuccin.flavor = "mocha";
|
|
||||||
catppuccin.accent = "blue";
|
|
||||||
boot.loader.grub.catppuccin.enable = true;
|
|
||||||
services.displayManager.sddm.catppuccin.enable = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
# Home Manager
|
|
||||||
home-manager.nixosModules.home-manager
|
|
||||||
{
|
|
||||||
home-manager = {
|
|
||||||
useGlobalPkgs = true;
|
|
||||||
useUserPackages = true;
|
|
||||||
backupFileExtension = "bak";
|
|
||||||
extraSpecialArgs = {
|
|
||||||
inherit inputs;
|
|
||||||
inherit pkgs;
|
|
||||||
system = system;
|
|
||||||
hostname = "nebula";
|
|
||||||
};
|
|
||||||
users.cswimr = {
|
|
||||||
imports = [
|
|
||||||
./home-manager/cswimr.nix
|
|
||||||
./home-manager/vscode.nix
|
|
||||||
inputs.catppuccin.homeManagerModules.catppuccin
|
|
||||||
{
|
|
||||||
catppuccin.enable = true;
|
|
||||||
catppuccin.flavor = "mocha";
|
|
||||||
catppuccin.accent = "blue";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
programs.git.extraConfig.user.signingkey = "082F226A1D8C0860";
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -167,6 +88,5 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,9 +51,11 @@
|
||||||
userName = "cswimr";
|
userName = "cswimr";
|
||||||
userEmail = "seaswimmerthefsh@gmail.com";
|
userEmail = "seaswimmerthefsh@gmail.com";
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
|
user = { signingkey = "0EC431A8DA8F8087"; };
|
||||||
commit = { gpgsign = true; };
|
commit = { gpgsign = true; };
|
||||||
signing = {
|
signing = {
|
||||||
signByDefault = true;
|
signByDefault = true;
|
||||||
|
key = "0EC431A8DA8F8087";
|
||||||
};
|
};
|
||||||
init = { defaultBranch = "master"; };
|
init = { defaultBranch = "master"; };
|
||||||
safe = { directory = "/etc/nixos"; };
|
safe = { directory = "/etc/nixos"; };
|
||||||
|
|
|
@ -1,34 +0,0 @@
|
||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
|
||||||
# and may be overwritten by future invocations. Please make changes
|
|
||||||
# to /etc/nixos/configuration.nix instead.
|
|
||||||
{ config, lib, pkgs, modulesPath, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports =
|
|
||||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
|
||||||
];
|
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "sd_mod" ];
|
|
||||||
boot.initrd.kernelModules = [ ];
|
|
||||||
boot.kernelModules = [ "kvm-amd" ];
|
|
||||||
boot.extraModulePackages = [ ];
|
|
||||||
|
|
||||||
fileSystems."/" =
|
|
||||||
{ device = "/dev/disk/by-uuid/658d4465-7bac-4e12-ad92-00fef8abcfe3";
|
|
||||||
fsType = "ext4";
|
|
||||||
};
|
|
||||||
|
|
||||||
swapDevices = [ ];
|
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
|
||||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
|
||||||
# still possible to use this option, but it's recommended to use it in conjunction
|
|
||||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
|
||||||
networking.useDHCP = lib.mkDefault true;
|
|
||||||
# networking.interfaces.docker0.useDHCP = lib.mkDefault true;
|
|
||||||
# networking.interfaces.tailscale0.useDHCP = lib.mkDefault true;
|
|
||||||
# networking.interfaces.wlp1s0.useDHCP = lib.mkDefault true;
|
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
||||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue