Compare commits
No commits in common. "6110d26c3983a5f32ff1d8ecb910caf67bb1d1ac" and "a00aca61432070c3fb3af4110a2943ff3c2f80b5" have entirely different histories.
6110d26c39
...
a00aca6143
5 changed files with 24 additions and 10 deletions
|
@ -108,20 +108,17 @@
|
||||||
users.users.crony = {
|
users.users.crony = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Crony";
|
description = "Crony";
|
||||||
hashedPasswordFile = "${config.age.secrets.crony-passwd.path}";
|
# hashedPasswordFile = "${config.age.secrets.crony-passwd.path}";
|
||||||
extraGroups = ["networkmanager" "wheel" "video" "input" "audio" "gamemode" "seat"];
|
extraGroups = ["networkmanager" "wheel" "video" "input" "audio" "gamemode" "seat"];
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users.root.hashedPasswordFile = "${config.age.secrets.root-passwd.path}";
|
# users.users.root.hashedPasswordFile = "${config.age.secrets.root-passwd.path}";
|
||||||
|
|
||||||
users.mutableUsers = false;
|
# users.mutableUsers = false;
|
||||||
|
|
||||||
# Allow unfree packages
|
# Allow unfree packages
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
# Enable my flake specific settings
|
|
||||||
crony.secrets.enable = true;
|
|
||||||
|
|
||||||
# List packages installed in system profile
|
# List packages installed in system profile
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
neovim
|
neovim
|
||||||
|
|
|
@ -22,7 +22,11 @@
|
||||||
content = {
|
content = {
|
||||||
type = "luks";
|
type = "luks";
|
||||||
name = "crypt";
|
name = "crypt";
|
||||||
settings.allowDiscards = true;
|
passwordFile = "/tmp/secret.key"; # Interactive
|
||||||
|
settings = {
|
||||||
|
allowDiscards = true;
|
||||||
|
keyFile = "/tmp/secret.key";
|
||||||
|
};
|
||||||
content = {
|
content = {
|
||||||
type = "btrfs";
|
type = "btrfs";
|
||||||
extraArgs = ["-f"];
|
extraArgs = ["-f"];
|
||||||
|
|
|
@ -17,6 +17,19 @@
|
||||||
boot.kernelModules = ["kvm-amd"];
|
boot.kernelModules = ["kvm-amd"];
|
||||||
boot.extraModulePackages = [];
|
boot.extraModulePackages = [];
|
||||||
|
|
||||||
|
fileSystems."/" = {
|
||||||
|
device = "/dev/disk/by-uuid/0fbf752d-9234-42bd-9e04-8246de85e8d6";
|
||||||
|
fsType = "ext4";
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/boot" = {
|
||||||
|
device = "/dev/disk/by-uuid/3156-31B6";
|
||||||
|
fsType = "vfat";
|
||||||
|
options = ["fmask=0077" "dmask=0077"];
|
||||||
|
};
|
||||||
|
|
||||||
|
swapDevices = [];
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# 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
|
# (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
|
# still possible to use this option, but it's recommended to use it in conjunction
|
||||||
|
|
|
@ -131,10 +131,10 @@ in {
|
||||||
server = "nixd";
|
server = "nixd";
|
||||||
options = {
|
options = {
|
||||||
nixos = {
|
nixos = {
|
||||||
expr = ''(builtins.getFlake "/home/crony/repos/nixos").nixosConfigurations.CONFIGNAME.options'';
|
expr = ''(builtins.getFlake "/home/crony/Repos/nixos").nixosConfigurations.CONFIGNAME.options'';
|
||||||
};
|
};
|
||||||
home_manager = {
|
home_manager = {
|
||||||
expr = ''(builtins.getFlake "/home/crony/repos/nixos").homeConfigurations.CONFIGNAME.options'';
|
expr = ''(builtins.getFlake "/home/crony/Repos/nixos").homeConfigurations.CONFIGNAME.options'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
# Install nh
|
# Install nh
|
||||||
programs.nh = {
|
programs.nh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
flake = "/home/crony/repos/nixos";
|
flake = "/home/crony/Repos/nixos";
|
||||||
clean = {
|
clean = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraArgs = "--keep 5 --keep-since 3d";
|
extraArgs = "--keep 5 --keep-since 3d";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue