| author | |
| committer | |
| log | b808a79ab266c85d48e757406b89d06b29f51f03 |
| tree | 2208b4833c469ca2c8b5f7309085287c94dc9c24 |
| parent | 454a26a85a3b1d5b7577fce269fd5874b5ccab49 |
5 files changed, 43 insertions(+), 31 deletions(-)
flake.nix-3| ... | ... | @@ -150,9 +150,6 @@ |
| 150 | 150 | user = "julia"; |
| 151 | 151 | host = "cattop"; |
| 152 | 152 | system = "x86_64-linux"; |
| 153 | extraModules = [ | |
| 154 | nixos-cosmic.nixosModules.default | |
| 155 | ]; | |
| 156 | 153 | }; |
| 157 | 154 | |
| 158 | 155 | # generate checks for "nix flake check --all-systems --no-build" |
modules/nixos/services.nix-4| ... | ... | @@ -22,10 +22,6 @@ |
| 22 | 22 | }; |
| 23 | 23 | }; |
| 24 | 24 | |
| 25 | desktopManager.cosmic.enable = true; | |
| 26 | displayManager.cosmic-greeter.enable = true; | |
| 27 | desktopManager.cosmic.xwayland.enable = true; | |
| 28 | ||
| 29 | 25 | # Auto mount devices |
| 30 | 26 | udisks2 = { |
| 31 | 27 | enable = true; |
switch+7-7| ... | ... | @@ -1,12 +1,12 @@ |
| 1 | 1 | #!/bin/sh |
| 2 | 2 | nh_subcommand="os" |
| 3 | 3 | fallback_command="nixos-rebuild" |
| 4 | if [ "$(uname -o)" ]; then | |
| 5 | nh_subcommand="darwin" | |
| 6 | fallback_command="nix run .#darwin-rebuild" | |
| 7 | fi; | |
| 8 | if command -v nh > /dev/null; then | |
| 9 | nh $nh_subcommand switch . | |
| 4 | if [ "$(uname -o)" = "darwin" ]; then | |
| 5 | nh_subcommand="darwin" | |
| 6 | fallback_command="nix run .#darwin-rebuild" | |
| 7 | fi | |
| 8 | if command -v nh >/dev/null; then | |
| 9 | nh $nh_subcommand switch . | |
| 10 | 10 | else |
| 11 | $fallback_command -- switch --flake . | |
| 11 | $fallback_command -- switch --flake . | |
| 12 | 12 | fi |
users/julia/cattop/hardware-configuration.nix+31-17| ... | ... | @@ -1,32 +1,46 @@ |
| 1 | 1 | # Do not modify this file! It was generated by ‘nixos-generate-config’ |
| 2 | 2 | # and may be overwritten by future invocations. Please make changes |
| 3 | 3 | # to /etc/nixos/configuration.nix instead. |
| 4 | { config, lib, pkgs, modulesPath, ... }: | |
| 4 | { | |
| 5 | config, | |
| 6 | lib, | |
| 7 | pkgs, | |
| 8 | modulesPath, | |
| 9 | ... | |
| 10 | }: | |
| 5 | 11 | |
| 6 | 12 | { |
| 7 | imports = | |
| 8 | [ (modulesPath + "/installer/scan/not-detected.nix") | |
| 9 | ]; | |
| 13 | imports = [ | |
| 14 | (modulesPath + "/installer/scan/not-detected.nix") | |
| 15 | ]; | |
| 10 | 16 | |
| 11 | boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "vmd" "nvme" ]; | |
| 17 | boot.initrd.availableKernelModules = [ | |
| 18 | "xhci_pci" | |
| 19 | "thunderbolt" | |
| 20 | "vmd" | |
| 21 | "nvme" | |
| 22 | ]; | |
| 12 | 23 | boot.initrd.kernelModules = [ ]; |
| 13 | 24 | boot.kernelModules = [ "kvm-intel" ]; |
| 14 | 25 | boot.extraModulePackages = [ ]; |
| 15 | 26 | |
| 16 | fileSystems."/" = | |
| 17 | { device = "/dev/disk/by-uuid/8eb0d6a2-b8cf-4ef2-ba2a-e25a5555b0bc"; | |
| 18 | fsType = "ext4"; | |
| 19 | }; | |
| 27 | fileSystems."/" = { | |
| 28 | device = "/dev/disk/by-uuid/8eb0d6a2-b8cf-4ef2-ba2a-e25a5555b0bc"; | |
| 29 | fsType = "ext4"; | |
| 30 | }; | |
| 20 | 31 | |
| 21 | fileSystems."/boot" = | |
| 22 | { device = "/dev/disk/by-uuid/3B51-4A1C"; | |
| 23 | fsType = "vfat"; | |
| 24 | options = [ "fmask=0077" "dmask=0077" ]; | |
| 25 | }; | |
| 26 | ||
| 27 | swapDevices = | |
| 28 | [ { device = "/dev/disk/by-uuid/58ee9d19-292f-49b5-9979-341b42e8e09d"; } | |
| 32 | fileSystems."/boot/efi" = { | |
| 33 | device = "/dev/disk/by-uuid/3B51-4A1C"; | |
| 34 | fsType = "vfat"; | |
| 35 | options = [ | |
| 36 | "fmask=0077" | |
| 37 | "dmask=0077" | |
| 29 | 38 | ]; |
| 39 | }; | |
| 40 | ||
| 41 | swapDevices = [ | |
| 42 | { device = "/dev/disk/by-uuid/58ee9d19-292f-49b5-9979-341b42e8e09d"; } | |
| 43 | ]; | |
| 30 | 44 | |
| 31 | 45 | # Enables DHCP on each ethernet and wireless interface. In case of scripted networking |
| 32 | 46 | # (the default) this is the recommended approach. When using systemd-networkd it's |
users/natalie/desktop/configuration.nix+5| ... | ... | @@ -121,6 +121,11 @@ |
| 121 | 121 | |
| 122 | 122 | # Enable sound with pipewire. |
| 123 | 123 | security.rtkit.enable = true; |
| 124 | services = { | |
| 125 | desktopManager.cosmic.enable = true; | |
| 126 | displayManager.cosmic-greeter.enable = true; | |
| 127 | desktopManager.cosmic.xwayland.enable = true; | |
| 128 | }; | |
| 124 | 129 | |
| 125 | 130 | # Enable touchpad support (enabled default in most desktopManager). |
| 126 | 131 | # services.xserver.libinput.enable = true; |