updated to 23.05

This commit is contained in:
specCon18 2023-07-31 19:25:14 -04:00
parent 86427492ea
commit 5bae6c9d0e
9 changed files with 45 additions and 60 deletions

34
flake.lock generated
View file

@ -99,20 +99,19 @@
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
], ]
"utils": "utils"
}, },
"locked": { "locked": {
"lastModified": 1679738842, "lastModified": 1687871164,
"narHash": "sha256-CvqRbsyDW756EskojZptDU590rez29RcHDV3ezoze08=", "narHash": "sha256-bBFlPthuYX322xOlpJvkjUBz0C+MOBjZdDOOJJ+G2jU=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "83110c259889230b324bb2d35bef78bf5f214a1f", "rev": "07c347bb50994691d7b0095f45ebd8838cf6bc38",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-community", "owner": "nix-community",
"ref": "release-22.11", "ref": "release-23.05",
"repo": "home-manager", "repo": "home-manager",
"type": "github" "type": "github"
} }
@ -318,16 +317,16 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1688392541, "lastModified": 1690726002,
"narHash": "sha256-lHrKvEkCPTUO+7tPfjIcb7Trk6k31rz18vkyqmkeJfY=", "narHash": "sha256-cACz6jCJZtsZHGCJAN4vMobxzH5s6FCOTZHMrh/Hu0M=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "ea4c80b39be4c09702b0cb3b42eab59e2ba4f24b", "rev": "391e8db1f06c3f74c2d313a73135515023af3993",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-22.11", "ref": "nixos-23.05",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
@ -423,21 +422,6 @@
"type": "github" "type": "github"
} }
}, },
"utils": {
"locked": {
"lastModified": 1667395993,
"narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"wlroots": { "wlroots": {
"flake": false, "flake": false,
"locked": { "locked": {

View file

@ -2,14 +2,14 @@
description = "respec's nixos configs"; description = "respec's nixos configs";
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
nixos-hardware.url = "github:NixOS/nixos-hardware/master"; nixos-hardware.url = "github:NixOS/nixos-hardware/master";
sops-nix.url = github:Mic92/sops-nix; sops-nix.url = github:Mic92/sops-nix;
devenv.url = "github:cachix/devenv/latest"; devenv.url = "github:cachix/devenv/latest";
hyprland.url = "github:hyprwm/Hyprland"; hyprland.url = "github:hyprwm/Hyprland";
xdph.url = "github:hyprwm/xdg-desktop-portal-hyprland"; xdph.url = "github:hyprwm/xdg-desktop-portal-hyprland";
home-manager = { home-manager = {
url = "github:nix-community/home-manager/release-22.11"; url = "github:nix-community/home-manager/release-23.05";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
disko = { disko = {

View file

@ -55,8 +55,6 @@
extraOptions = ''experimental-features = nix-command flakes''; extraOptions = ''experimental-features = nix-command flakes'';
# Auto maintainence # Auto maintainence
settings.auto-optimise-store = lib.mkDefault true; settings.auto-optimise-store = lib.mkDefault true;
# Prevent tampering of the pkgstore
readOnlyStore = true;
# Garbage collection # Garbage collection
gc = { gc = {
automatic = true; automatic = true;

View file

@ -1,29 +1,28 @@
{ modulesPath, config, pkgs, lib, self, ... }: { modulesPath, config, pkgs, lib, self, ... }:
{ {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
ripgrep ripgrep
tree tree
cargo cargo
feh unrar
unrar unzip
unzip gzip
gzip p7zip
p7zip bzip2
bzip2 dconf2nix
dconf2nix rustc
rustc bat
bat exa
exa mdbook
mdbook uutils-coreutils
uutils-coreutils htop
htop zsh
zsh dig #dns lookup
dig #dns lookup rage #file encryption
rage #file encryption age-plugin-yubikey #plugin for rage to manage yubi-2fa
age-plugin-yubikey #plugin for rage to manage yubi-2fa sops #file based secrets operations
sops #file based secrets operations direnv #used for development environments
direnv #used for development environments python39
python39 gcc
gcc
]; ];
} }

View file

@ -16,6 +16,8 @@
}; };
kernelModules = [ "kvm-intel" ]; kernelModules = [ "kvm-intel" ];
extraModulePackages = [ ]; extraModulePackages = [ ];
# Prevent tampering of the pkgstore
readOnlyNixStore = true;
}; };
fileSystems."/" = { fileSystems."/" = {

View file

@ -1,6 +1,6 @@
{ {
programs.eww = { programs.eww = {
enable=true; enable=false;
configDir=../../dotfiles/eww; configDir=../../dotfiles/eww;
}; };
} }

View file

@ -4,11 +4,13 @@
services.openssh = lib.mkDefault { services.openssh = lib.mkDefault {
enable = true; enable = true;
openFirewall = true; openFirewall = true;
passwordAuthentication = false;
permitRootLogin = "no";
kbdInteractiveAuthentication = false;
startWhenNeeded = true; startWhenNeeded = true;
kexAlgorithms = [ "curve25519-sha256@libssh.org" ]; settings = {
KexAlgorithms = [ "curve25519-sha256@libssh.org" ];
PermitRootLogin = "no";
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
}; };
security.pam = lib.mkDefault { security.pam = lib.mkDefault {
enableSSHAgentAuth = true; enableSSHAgentAuth = true;

View file

@ -1,5 +1,6 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
{ {
programs.zsh.enable = true;
users.users.speccon18 = { users.users.speccon18 = {
shell = pkgs.zsh; shell = pkgs.zsh;
isNormalUser = true; isNormalUser = true;
@ -8,7 +9,7 @@
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILdigmndcdQD/864P059K2hZOXyEkbGvMkH0/b2QavkD speccon18@creatorforge" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILdigmndcdQD/864P059K2hZOXyEkbGvMkH0/b2QavkD speccon18@creatorforge"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPc1AQ6hcjdSZZuhS5SISwtulFoTLpC5f5JoMFQkZ5l2 specCon18@DESKTOP-Q1I2PAE" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPc1AQ6hcjdSZZuhS5SISwtulFoTLpC5f5JoMFQkZ5l2 specCon18@DESKTOP-Q1I2PAE"
]; ];
description = "admin"; description = "Steven Carpenter";
extraGroups = [ "wheel" "docker" ]; extraGroups = [ "wheel" "docker" ];
}; };
} }

View file

@ -13,7 +13,6 @@
firefox firefox
discord discord
nodejs-18_x nodejs-18_x
nerdfonts
fira-code fira-code
gimp gimp
obsidian obsidian