nix: make nix actually install

This commit is contained in:
Nico 2025-05-03 16:15:57 +10:00
parent 2bc3ac5dce
commit 135f6d803b
6 changed files with 18 additions and 13 deletions

View file

@ -5,6 +5,10 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
# Nix Configuration
nixpkgs.config.allowUnfree = true;
# Use the systemd-boot EFI boot loader. # Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
@ -17,11 +21,11 @@
# Select internationalisation properties. # Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8"; i18n.defaultLocale = "en_US.UTF-8";
console = { # console = {
font = "Lat2-Terminus16"; # font = "Lat2-Terminus16";
keyMap = "us"; # keyMap = "us";
useXkbConfig = true; # use xkb.options in tty. # useXkbConfig = true; # use xkb.options in tty.
}; # };
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
services.openssh.enable = true; services.openssh.enable = true;
@ -30,6 +34,10 @@
networking.firewall.allowedTCPPorts = [ 22 ]; networking.firewall.allowedTCPPorts = [ 22 ];
# networking.firewall.allowedUDPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ];
# Enable nix-command and flakes
nix.settings.experimental-features = [ "nix-command" "flakes" ];
# This option defines the first version of NixOS you have installed on this particular machine, and is used # This option defines the first version of NixOS you have installed on this particular machine, and is used
# to maintain compatibility with application data (e.g. databases) created on older NixOS versions. Most # to maintain compatibility with application data (e.g. databases) created on older NixOS versions. Most
# users should NEVER change this value after the initial install, for any reason, even if you've upgraded # users should NEVER change this value after the initial install, for any reason, even if you've upgraded

View file

@ -16,6 +16,7 @@
./modules/users.nix ./modules/users.nix
./modules/hyprland.nix ./modules/hyprland.nix
./modules/applications.nix ./modules/applications.nix
./modules/firefox.nix
./hosts/pluto/conf.nix ./hosts/pluto/conf.nix
./hosts/pluto/hardware-configuration.nix ./hosts/pluto/hardware-configuration.nix

View file

@ -14,14 +14,12 @@
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/d987bb46-2de5-4e0a-a1dd-381118166968"; { device = "/dev/disk/by-uuid/892f6bb2-89a9-4205-9419-486f34483e7d";
fsType = "btrfs"; fsType = "btrfs";
}; };
boot.initrd.luks.devices."root".device = "/dev/disk/by-uuid/64a5f122-22e5-4d81-b249-d29ea111f69c";
fileSystems."/boot" = fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/88BC-99EF"; { device = "/dev/disk/by-uuid/2819-D198";
fsType = "vfat"; fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ]; options = [ "fmask=0022" "dmask=0022" ];
}; };

View file

@ -8,8 +8,6 @@
element-desktop element-desktop
]; ];
programs.firefox.enable = true;
programs.kdeconnect.enable = true; programs.kdeconnect.enable = true;
systemd.user.services.kdeconnectd = { systemd.user.services.kdeconnectd = {
enable = true; enable = true;

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs }: { config, lib, pkgs, ... }:
{ {
programs.hyprland.enable = true; programs.hyprland.enable = true;

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs }: { config, lib, pkgs, ...}:
{ {
users.users.nico = { users.users.nico = {