diff --git a/flake.nix b/flake.nix index 85ed8aa..93f5b08 100644 --- a/flake.nix +++ b/flake.nix @@ -1,5 +1,5 @@ { - description = "My NixOS desktop and server configs"; + description = "A simple NixOS flake"; inputs = { @@ -28,97 +28,55 @@ }; - outputs = { self, nixpkgs, nixpkgs-unstable, ... }@attrs: + outputs = { self, nixpkgs, home-manager, disko, nixos-hardware, ... }@inputs: let - supportedSystems = [ "x86_64-linux" ]; - forAllSystems = nixpkgs.lib.genAttrs supportedSystems; - forAllSystemsUnstable = nixpkgs-unstable.lib.genAttrs supportedSystems; - - pkgs = forAllSystems (system: import nixpkgs { inherit system; }); - pkgs-unstable = forAllSystemsUnstable (system: import nixpkgs-unstable { inherit system; }); - + inherit (self) outputs; + forAllSystems = nixpkgs.lib.genAttrs [ + "x86_64-linux" + ]; + inherit (nixpkgs) lib; + configVars = import /home/willifan/.nix-config/vars { inherit inputs lib; }; + specialArgs = { inherit inputs outputs configVars nixpkgs; }; in { + # Please replace my-nixos with your hostname nixosConfigurations = { - Lenni = let - system = "x86_64-linux"; - in - nixpkgs.lib.nixosSystem { - - specialArgs = { - hostname = "Lenni"; - type = "desktop"; - inherit system; - }; - + Lenni = lib.nixosSystem { + inherit specialArgs; modules = [ - attrs.home-manager.nixosModules.home-manager + home-manager.nixosModules.home-manager { home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; + #home-manager.users.willifan = import ./users/willifan/home; + # Optionally, use home-manager.extraSpecialArgs to pass arguments to home.nix } - attrs.disko.nixosModules.disko - attrs.nixos-hardware.nixosModules.framework-12th-gen-intel + disko.nixosModules.disko + nixos-hardware.nixosModules.framework-12th-gen-intel ./hosts ./users/willifan ]; - }; - Puenktchen = let - system = "x86_64-linux"; - in - nixpkgs.lib.nixosSystem { - - specialArgs = { - hostname = "Puenktchen"; - type = "desktop"; - inherit system; - }; - + Puenktchen = lib.nixosSystem { + inherit specialArgs; modules = [ - attrs.home-manager.nixosModules.home-manager + home-manager.nixosModules.home-manager { home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; + #home-manager.users.willifan = import ./users/willifan/home; + # Optionally, use home-manager.extraSpecialArgs to pass arguments to home.nix } - attrs.disko.nixosModules.disko - attrs.nixos-hardware.nixosModules.common-cpu-amd - attrs.nixos-hardware.nixosModules.common-cpu-amd-pstate - attrs.nixos-hardware.nixosModules.common-cpu-amd-zenpower - attrs.nixos-hardware.nixosModules.common-gpu-amd + disko.nixosModules.disko + nixos-hardware.nixosModules.common-cpu-amd + nixos-hardware.nixosModules.common-cpu-amd-pstate + nixos-hardware.nixosModules.common-cpu-amd-zenpower + nixos-hardware.nixosModules.common-gpu-amd ./hosts ./users/willifan ]; - - }; - - Anton = let - system = "x86_64-linux"; - in - nixpkgs.lib.nixosSystem { - - specialArgs = { - hostname = "Anton"; - type = "server"; - inherit system; - }; - - modules = [ - attrs.home-manager.nixosModules.home-manager - { - home-manager.useGlobalPkgs = true; - home-manager.useUserPackages = true; - } - attrs.disko.nixosModules.disko - attrs.nixos-hardware.nixosModules.common-cpu-amd - attrs.nixos-hardware.nixosModules.common-cpu-amd-pstate - attrs.nixos-hardware.nixosModules.common-cpu-amd-zenpower - ./hosts - ./users/willifan - ]; - }; }; diff --git a/hosts/desktop/boot.nix b/hosts/common/boot.nix similarity index 100% rename from hosts/desktop/boot.nix rename to hosts/common/boot.nix diff --git a/hosts/common/default.nix b/hosts/common/default.nix index 636ca91..177ce5b 100644 --- a/hosts/common/default.nix +++ b/hosts/common/default.nix @@ -1,4 +1,18 @@ -{ pkgs, ... }: +{ pkgs, configVars, ... }: { + networking.hostName = configVars.hostname; + imports = [ + ./nix-ld.nix + ./boot.nix + ./printers.nix + ]; + + hardware.bluetooth.enable = true; + services.hardware.bolt.enable = true; + + networking.networkmanager.enable = true; + console.keyMap = "de"; + nixpkgs.config.allowUnfree = true; + nix.settings.experimental-features = [ "nix-command" "flakes" ]; system.stateVersion = "23.11"; } \ No newline at end of file diff --git a/hosts/desktop/nix-ld.nix b/hosts/common/nix-ld.nix similarity index 100% rename from hosts/desktop/nix-ld.nix rename to hosts/common/nix-ld.nix diff --git a/hosts/desktop/printers.nix b/hosts/common/printers.nix similarity index 100% rename from hosts/desktop/printers.nix rename to hosts/common/printers.nix diff --git a/hosts/default.nix b/hosts/default.nix index fbe7d2c..c7f8050 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -1,8 +1,7 @@ -{ pkgs, hostname, type, ... }: +{ pkgs, configVars, ... }: { imports = [ ./common - ./${type} - ./${hostname} + ./${configVars.hostname} ]; } \ No newline at end of file diff --git a/hosts/desktop/default.nix b/hosts/desktop/default.nix deleted file mode 100644 index 10453fc..0000000 --- a/hosts/desktop/default.nix +++ /dev/null @@ -1,17 +0,0 @@ -{ pkgs, hostname, ... }: -{ - networking.hostName = hostname; - imports = [ - ./nix-ld.nix - ./boot.nix - ./printers.nix - ]; - - hardware.bluetooth.enable = true; - services.hardware.bolt.enable = true; - - networking.networkmanager.enable = true; - console.keyMap = "de"; - nixpkgs.config.allowUnfree = true; - nix.settings.experimental-features = [ "nix-command" "flakes" ]; -} \ No newline at end of file diff --git a/hosts/server/Anton/data.nix b/hosts/server/Anton/data.nix deleted file mode 100644 index d747664..0000000 --- a/hosts/server/Anton/data.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ pkgs, ... }: -{ - - environment.systemPackages = with pkgs; [ - mergerfs - ]; - - fileSystems."/storage" = { - fsType = "fuse.mergerfs"; - device = "/mnt/disks/*"; - options = ["cache.files=partial" "dropcacheonclose=true" "category.create=mfs"]; - }; - - services.snapraid = { - enable = true; - - }; - -} \ No newline at end of file diff --git a/hosts/server/Anton/default.nix b/hosts/server/Anton/default.nix deleted file mode 100644 index 928904d..0000000 --- a/hosts/server/Anton/default.nix +++ /dev/null @@ -1,11 +0,0 @@ -{ pkgs, ... }: -{ - - imports = [ - - ./disko.nix - ./hardware-configuration.nix - - ]; - -} \ No newline at end of file diff --git a/hosts/server/Anton/disko.nix b/hosts/server/Anton/disko.nix deleted file mode 100644 index b7595d0..0000000 --- a/hosts/server/Anton/disko.nix +++ /dev/null @@ -1,52 +0,0 @@ -{ - disko.devices = { - disk = { - root-drive = { - type = "disk"; - device = "/dev/disk/by-id/wwn-0x5001b44ebc0b613a"; - content = { - type = "gpt"; - partitions = { - ESP = { - priority = 1; - name = "ESP"; - size = "512M"; - type = "EF00"; - content = { - type = "filesystem"; - format = "vfat"; - mountpoint = "/boot"; - }; - }; - root = { - size = "100%"; - content = { - type = "btrfs"; - extraArgs = [ "-f" ]; # Override existing partition - # Subvolumes must set a mountpoint in order to be mounted, - # unless their parent is mounted - subvolumes = { - # Subvolume name is different from mountpoint - "/rootfs" = { - mountOptions = [ "compress=zstd" "noatime" ]; - mountpoint = "/"; - }; - # Subvolume name is the same as the mountpoint - "/home" = { - mountOptions = [ "compress=zstd" "noatime" ]; - mountpoint = "/home"; - }; - # Parent is not mounted so the mountpoint must be set - "/nix" = { - mountOptions = [ "compress=zstd" "noatime" ]; - mountpoint = "/nix"; - }; - }; - }; - }; - }; - }; - }; - }; - }; -} diff --git a/iso/flake.nix b/iso/flake.nix index fedcff7..1ceb924 100644 --- a/iso/flake.nix +++ b/iso/flake.nix @@ -12,7 +12,7 @@ ({ pkgs, ... }: { systemd.services.sshd.wantedBy = pkgs.lib.mkForce [ "multi-user.target" ]; - users.users.nixos.openssh.authorizedKeys.keys = [ + users.users.root.openssh.authorizedKeys.keys = [ "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDMRriQfw3pusl04fGhCNVoRRpye71ZwkDXAtKB/FP1DLXA4cYrwjLzv/fG1hXi7lAMp2vLiABAg/UaTE8roGzlt62XsFNwc1TI5M8m67J0kLkCtz3MkIixe/3GOFXr03g80DPncLyoIYPvvNd/TftTBK4yrrZPvMJaRrZhW/QdLPQpdHalcNRZ4bnBOCtCoqQ6RGrRi2EeKaJDYIFNl13b9FxrXEJcXnbSDdr1KI3q7a+vkefI2knUf2Uk7ufOWTQ1aqc0heGtCNlHzwZUzW/dfrpPmoVPq3Fqxqd9uXqxMk1Z3VnOwWcK3VXfzzBXKTsX0MaUgF1EqxibkYs9bDZqLEXoRucBqk3wwMPy8RJXqQOupoqa2xEOoduBf1qDHEEm69coHCpPm2mQVUrwsPrmTHmOjh9ir0mkVBDRgHvhq/ctQTVO5/SE2NCgPdlvUV5s44LLsUyxBp5JWwXZWlVys+7Dhil6mtRDcH4CXceJn0VZ61Zv2jrCTxQjKsroitSkNbpAkKajQ9moLMAblsSwJzl3uvJJ3ydlxjZefwTO/GjyuJMY2sIU2Tu0YbIVgMyq5L782LduVlyWj+RLWoEu19OfMqQvTWhJnQPAbR82qGzlfTGRLUxoY+G5MYipJwgrBQ2TnpWvfpTrZxFrglSfekz0v54lWzNZpW+irImh4w== willifan@proton.me" ]; @@ -20,8 +20,6 @@ nano ]; - nix.settings.experimental-features = [ "nix-command" "flakes" ]; - }) ]; }; diff --git a/users/willifan/Lenni/default.nix b/users/willifan/Lenni/default.nix deleted file mode 100644 index 489b782..0000000 --- a/users/willifan/Lenni/default.nix +++ /dev/null @@ -1,7 +0,0 @@ -{ pkgs, ... }: -{ - imports = [ - ./auto-cpufreq.nix - ./backlight.nix - ]; -} \ No newline at end of file diff --git a/users/willifan/Puenktchen/default.nix b/users/willifan/Puenktchen/default.nix deleted file mode 100644 index c7f8b4f..0000000 --- a/users/willifan/Puenktchen/default.nix +++ /dev/null @@ -1,4 +0,0 @@ -{ pkgs, ... }: -{ - -} \ No newline at end of file diff --git a/users/willifan/desktop/applications.nix b/users/willifan/applications.nix similarity index 96% rename from users/willifan/desktop/applications.nix rename to users/willifan/applications.nix index 077ba59..20a1a10 100644 --- a/users/willifan/desktop/applications.nix +++ b/users/willifan/applications.nix @@ -7,6 +7,8 @@ jq xorg.xrandr + btop + feh enpass diff --git a/users/willifan/Lenni/auto-cpufreq.nix b/users/willifan/auto-cpufreq.nix similarity index 100% rename from users/willifan/Lenni/auto-cpufreq.nix rename to users/willifan/auto-cpufreq.nix diff --git a/users/willifan/common/default.nix b/users/willifan/common/default.nix deleted file mode 100644 index b30e716..0000000 --- a/users/willifan/common/default.nix +++ /dev/null @@ -1,15 +0,0 @@ -{ pkgs, home-manager, ... }: -{ - imports = [ - ./envvar.nix - ./git.nix - ./hyfetch.nix - ./locales.nix - #./ssh.nix - ./syncthing.nix - ./user.nix - #./zsh.nix - ]; - - home-manager.users.willifan.home.stateVersion = "23.11"; -} \ No newline at end of file diff --git a/users/willifan/default.nix b/users/willifan/default.nix index fbe7d2c..8d4ed95 100644 --- a/users/willifan/default.nix +++ b/users/willifan/default.nix @@ -1,8 +1,31 @@ -{ pkgs, hostname, type, ... }: +{ pkgs, home-manager, ... }: { imports = [ - ./common - ./${type} - ./${hostname} + ./graphical + + ./applications.nix + ./auto-cpufreq.nix + ./envvar.nix + ./git.nix + ./hyfetch.nix + ./locales.nix + #./ssh.nix + ./syncthing.nix + ./udev.nix + ./user.nix + #./zsh.nix ]; + + services.greetd = { + enable = true; + settings = rec { + initial_session = { + command = ''Hyprland''; + user = "willifan"; + }; + default_session = initial_session; + }; + }; + + home-manager.users.willifan.home.stateVersion = "23.11"; } \ No newline at end of file diff --git a/users/willifan/desktop/autologin.nix b/users/willifan/desktop/autologin.nix deleted file mode 100644 index 4c67239..0000000 --- a/users/willifan/desktop/autologin.nix +++ /dev/null @@ -1,13 +0,0 @@ -{ pkgs, ... }: -{ - services.greetd = { - enable = true; - settings = rec { - initial_session = { - command = ''Hyprland''; - user = "willifan"; - }; - default_session = initial_session; - }; - }; -} \ No newline at end of file diff --git a/users/willifan/desktop/hyprland/default.nix b/users/willifan/desktop/hyprland/default.nix deleted file mode 100644 index 10ae784..0000000 --- a/users/willifan/desktop/hyprland/default.nix +++ /dev/null @@ -1,7 +0,0 @@ -{ pkgs, hostname, ... }: -{ - imports = [ - ./common - ./${hostname} - ]; -} \ No newline at end of file diff --git a/users/willifan/common/envvar.nix b/users/willifan/envvar.nix similarity index 100% rename from users/willifan/common/envvar.nix rename to users/willifan/envvar.nix diff --git a/users/willifan/common/git.nix b/users/willifan/git.nix similarity index 100% rename from users/willifan/common/git.nix rename to users/willifan/git.nix diff --git a/users/willifan/desktop/default.nix b/users/willifan/graphical/default.nix similarity index 67% rename from users/willifan/desktop/default.nix rename to users/willifan/graphical/default.nix index 5e00e4b..456f3ac 100644 --- a/users/willifan/desktop/default.nix +++ b/users/willifan/graphical/default.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ pkgs, home-manager-unstable, ... }: { @@ -9,8 +9,6 @@ ./theme ./web - ./applications.nix - ./autologin.nix ./kitty.nix ./thunar.nix ]; diff --git a/users/willifan/desktop/dev/default.nix b/users/willifan/graphical/dev/default.nix similarity index 100% rename from users/willifan/desktop/dev/default.nix rename to users/willifan/graphical/dev/default.nix diff --git a/users/willifan/desktop/dev/embedded.nix b/users/willifan/graphical/dev/embedded.nix similarity index 100% rename from users/willifan/desktop/dev/embedded.nix rename to users/willifan/graphical/dev/embedded.nix diff --git a/users/willifan/desktop/dev/logic-analyzer.nix b/users/willifan/graphical/dev/logic-analyzer.nix similarity index 100% rename from users/willifan/desktop/dev/logic-analyzer.nix rename to users/willifan/graphical/dev/logic-analyzer.nix diff --git a/users/willifan/desktop/dev/rust.nix b/users/willifan/graphical/dev/rust.nix similarity index 100% rename from users/willifan/desktop/dev/rust.nix rename to users/willifan/graphical/dev/rust.nix diff --git a/users/willifan/desktop/dev/vscodium.nix b/users/willifan/graphical/dev/vscodium.nix similarity index 100% rename from users/willifan/desktop/dev/vscodium.nix rename to users/willifan/graphical/dev/vscodium.nix diff --git a/users/willifan/desktop/games/ROG_Pugio_II_fixes.nix b/users/willifan/graphical/games/ROG_Pugio_II_fixes.nix similarity index 100% rename from users/willifan/desktop/games/ROG_Pugio_II_fixes.nix rename to users/willifan/graphical/games/ROG_Pugio_II_fixes.nix diff --git a/users/willifan/desktop/games/default.nix b/users/willifan/graphical/games/default.nix similarity index 100% rename from users/willifan/desktop/games/default.nix rename to users/willifan/graphical/games/default.nix diff --git a/users/willifan/desktop/games/mangohud.nix b/users/willifan/graphical/games/mangohud.nix similarity index 100% rename from users/willifan/desktop/games/mangohud.nix rename to users/willifan/graphical/games/mangohud.nix diff --git a/users/willifan/desktop/games/minecraft.nix b/users/willifan/graphical/games/minecraft.nix similarity index 100% rename from users/willifan/desktop/games/minecraft.nix rename to users/willifan/graphical/games/minecraft.nix diff --git a/users/willifan/desktop/games/steam.nix b/users/willifan/graphical/games/steam.nix similarity index 100% rename from users/willifan/desktop/games/steam.nix rename to users/willifan/graphical/games/steam.nix diff --git a/users/willifan/desktop/games/tetrio.nix b/users/willifan/graphical/games/tetrio.nix similarity index 100% rename from users/willifan/desktop/games/tetrio.nix rename to users/willifan/graphical/games/tetrio.nix diff --git a/users/willifan/desktop/hyprland/Lenni/default.nix b/users/willifan/graphical/hyprland/Lenni/default.nix similarity index 100% rename from users/willifan/desktop/hyprland/Lenni/default.nix rename to users/willifan/graphical/hyprland/Lenni/default.nix diff --git a/users/willifan/desktop/hyprland/Lenni/hypridle.nix b/users/willifan/graphical/hyprland/Lenni/hypridle.nix similarity index 100% rename from users/willifan/desktop/hyprland/Lenni/hypridle.nix rename to users/willifan/graphical/hyprland/Lenni/hypridle.nix diff --git a/users/willifan/desktop/hyprland/Lenni/hyprlock.nix b/users/willifan/graphical/hyprland/Lenni/hyprlock.nix similarity index 100% rename from users/willifan/desktop/hyprland/Lenni/hyprlock.nix rename to users/willifan/graphical/hyprland/Lenni/hyprlock.nix diff --git a/users/willifan/desktop/hyprland/Lenni/kanshi.nix b/users/willifan/graphical/hyprland/Lenni/kanshi.nix similarity index 100% rename from users/willifan/desktop/hyprland/Lenni/kanshi.nix rename to users/willifan/graphical/hyprland/Lenni/kanshi.nix diff --git a/users/willifan/desktop/hyprland/Puenktchen/default.nix b/users/willifan/graphical/hyprland/Puenktchen/default.nix similarity index 100% rename from users/willifan/desktop/hyprland/Puenktchen/default.nix rename to users/willifan/graphical/hyprland/Puenktchen/default.nix diff --git a/users/willifan/desktop/hyprland/common/default.nix b/users/willifan/graphical/hyprland/common/default.nix similarity index 100% rename from users/willifan/desktop/hyprland/common/default.nix rename to users/willifan/graphical/hyprland/common/default.nix diff --git a/users/willifan/desktop/hyprland/common/hyprland.nix b/users/willifan/graphical/hyprland/common/hyprland.nix similarity index 100% rename from users/willifan/desktop/hyprland/common/hyprland.nix rename to users/willifan/graphical/hyprland/common/hyprland.nix diff --git a/users/willifan/desktop/hyprland/common/hyprpaper.nix b/users/willifan/graphical/hyprland/common/hyprpaper.nix similarity index 100% rename from users/willifan/desktop/hyprland/common/hyprpaper.nix rename to users/willifan/graphical/hyprland/common/hyprpaper.nix diff --git a/users/willifan/desktop/hyprland/common/mako.nix b/users/willifan/graphical/hyprland/common/mako.nix similarity index 100% rename from users/willifan/desktop/hyprland/common/mako.nix rename to users/willifan/graphical/hyprland/common/mako.nix diff --git a/users/willifan/desktop/hyprland/common/pipewire.nix b/users/willifan/graphical/hyprland/common/pipewire.nix similarity index 100% rename from users/willifan/desktop/hyprland/common/pipewire.nix rename to users/willifan/graphical/hyprland/common/pipewire.nix diff --git a/users/willifan/desktop/hyprland/common/polkit.nix b/users/willifan/graphical/hyprland/common/polkit.nix similarity index 100% rename from users/willifan/desktop/hyprland/common/polkit.nix rename to users/willifan/graphical/hyprland/common/polkit.nix diff --git a/users/willifan/desktop/hyprland/common/utils.nix b/users/willifan/graphical/hyprland/common/utils.nix similarity index 100% rename from users/willifan/desktop/hyprland/common/utils.nix rename to users/willifan/graphical/hyprland/common/utils.nix diff --git a/users/willifan/desktop/hyprland/common/wlogout.nix b/users/willifan/graphical/hyprland/common/wlogout.nix similarity index 100% rename from users/willifan/desktop/hyprland/common/wlogout.nix rename to users/willifan/graphical/hyprland/common/wlogout.nix diff --git a/users/willifan/desktop/hyprland/common/wofi.nix b/users/willifan/graphical/hyprland/common/wofi.nix similarity index 100% rename from users/willifan/desktop/hyprland/common/wofi.nix rename to users/willifan/graphical/hyprland/common/wofi.nix diff --git a/users/willifan/graphical/hyprland/default.nix b/users/willifan/graphical/hyprland/default.nix new file mode 100644 index 0000000..c7f8050 --- /dev/null +++ b/users/willifan/graphical/hyprland/default.nix @@ -0,0 +1,7 @@ +{ pkgs, configVars, ... }: +{ + imports = [ + ./common + ./${configVars.hostname} + ]; +} \ No newline at end of file diff --git a/users/willifan/desktop/kitty.nix b/users/willifan/graphical/kitty.nix similarity index 100% rename from users/willifan/desktop/kitty.nix rename to users/willifan/graphical/kitty.nix diff --git a/users/willifan/desktop/theme/cursor.nix b/users/willifan/graphical/theme/cursor.nix similarity index 100% rename from users/willifan/desktop/theme/cursor.nix rename to users/willifan/graphical/theme/cursor.nix diff --git a/users/willifan/desktop/theme/default.nix b/users/willifan/graphical/theme/default.nix similarity index 68% rename from users/willifan/desktop/theme/default.nix rename to users/willifan/graphical/theme/default.nix index 48c8509..8c6e21a 100644 --- a/users/willifan/desktop/theme/default.nix +++ b/users/willifan/graphical/theme/default.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ pkgs, home-manager-unstable, ... }: { imports = [ diff --git a/users/willifan/desktop/theme/font.nix b/users/willifan/graphical/theme/font.nix similarity index 100% rename from users/willifan/desktop/theme/font.nix rename to users/willifan/graphical/theme/font.nix diff --git a/users/willifan/desktop/theme/gtk.nix b/users/willifan/graphical/theme/gtk.nix similarity index 100% rename from users/willifan/desktop/theme/gtk.nix rename to users/willifan/graphical/theme/gtk.nix diff --git a/users/willifan/desktop/theme/qt.nix b/users/willifan/graphical/theme/qt.nix similarity index 100% rename from users/willifan/desktop/theme/qt.nix rename to users/willifan/graphical/theme/qt.nix diff --git a/users/willifan/desktop/thunar.nix b/users/willifan/graphical/thunar.nix similarity index 100% rename from users/willifan/desktop/thunar.nix rename to users/willifan/graphical/thunar.nix diff --git a/users/willifan/desktop/web/default.nix b/users/willifan/graphical/web/default.nix similarity index 100% rename from users/willifan/desktop/web/default.nix rename to users/willifan/graphical/web/default.nix diff --git a/users/willifan/desktop/web/firefox.nix b/users/willifan/graphical/web/firefox.nix similarity index 100% rename from users/willifan/desktop/web/firefox.nix rename to users/willifan/graphical/web/firefox.nix diff --git a/users/willifan/desktop/web/thunderbird.nix b/users/willifan/graphical/web/thunderbird.nix similarity index 100% rename from users/willifan/desktop/web/thunderbird.nix rename to users/willifan/graphical/web/thunderbird.nix diff --git a/users/willifan/common/hyfetch.nix b/users/willifan/hyfetch.nix similarity index 100% rename from users/willifan/common/hyfetch.nix rename to users/willifan/hyfetch.nix diff --git a/users/willifan/common/locales.nix b/users/willifan/locales.nix similarity index 100% rename from users/willifan/common/locales.nix rename to users/willifan/locales.nix diff --git a/users/willifan/common/ssh.nix b/users/willifan/ssh.nix similarity index 100% rename from users/willifan/common/ssh.nix rename to users/willifan/ssh.nix diff --git a/users/willifan/common/syncthing.nix b/users/willifan/syncthing.nix similarity index 100% rename from users/willifan/common/syncthing.nix rename to users/willifan/syncthing.nix diff --git a/users/willifan/Lenni/backlight.nix b/users/willifan/udev.nix similarity index 100% rename from users/willifan/Lenni/backlight.nix rename to users/willifan/udev.nix diff --git a/users/willifan/common/user.nix b/users/willifan/user.nix similarity index 100% rename from users/willifan/common/user.nix rename to users/willifan/user.nix diff --git a/users/willifan/common/zsh.nix b/users/willifan/zsh.nix similarity index 100% rename from users/willifan/common/zsh.nix rename to users/willifan/zsh.nix