From a4ca65f5bd2c6633fcc008c4bab1de8ccbd81157 Mon Sep 17 00:00:00 2001 From: Alex van de Sandt Date: Wed, 24 Jun 2026 17:26:17 -0500 Subject: [PATCH] Delete old config --- _old/desktop/cursor.nix | 11 - _old/desktop/default.nix | 21 - _old/flake.lock | 671 --------------------------- _old/flake.nix | 79 ---- _old/home.nix | 83 ---- _old/systems/flock/configuration.nix | 185 -------- _old/systems/perch/configuration.nix | 194 -------- 7 files changed, 1244 deletions(-) delete mode 100644 _old/desktop/cursor.nix delete mode 100644 _old/desktop/default.nix delete mode 100644 _old/flake.lock delete mode 100644 _old/flake.nix delete mode 100644 _old/home.nix delete mode 100644 _old/systems/flock/configuration.nix delete mode 100644 _old/systems/perch/configuration.nix diff --git a/_old/desktop/cursor.nix b/_old/desktop/cursor.nix deleted file mode 100644 index ed21123..0000000 --- a/_old/desktop/cursor.nix +++ /dev/null @@ -1,11 +0,0 @@ -{ pkgs, ... }: -{ - programs.hyprcursor-phinger.enable = true; - # Only applies to XWayland/GTK - home.pointerCursor = { - name = "phinger-cursors-dark"; - package = pkgs.phinger-cursors; - size = 24; - gtk.enable = true; - }; -} diff --git a/_old/desktop/default.nix b/_old/desktop/default.nix deleted file mode 100644 index d3748fb..0000000 --- a/_old/desktop/default.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ ... }: -{ - imports = [ - ./waybar - - ./cursor.nix - ./hyprland.nix - ./hyprpaper.nix - ]; - - services.hyprlauncher = { - enable = true; - settings = { - finders.desktop_icons = true; - general.grab_focus = true; - }; - }; - - # use first portal implementation - xdg.portal.config.common.default = "*"; -} diff --git a/_old/flake.lock b/_old/flake.lock deleted file mode 100644 index 9b7ae14..0000000 --- a/_old/flake.lock +++ /dev/null @@ -1,671 +0,0 @@ -{ - "nodes": { - "aquamarine": { - "inputs": { - "hyprutils": [ - "hyprland", - "hyprutils" - ], - "hyprwayland-scanner": [ - "hyprland", - "hyprwayland-scanner" - ], - "nixpkgs": [ - "hyprland", - "nixpkgs" - ], - "systems": [ - "hyprland", - "systems" - ] - }, - "locked": { - "lastModified": 1780756231, - "narHash": "sha256-tXQxKdG5716uB9/LIkLQqQwHKf5mRSpHoZhz3lyI2Cg=", - "owner": "hyprwm", - "repo": "aquamarine", - "rev": "6ecde03f47172753fe5a2f334f9d3facfb7e6784", - "type": "github" - }, - "original": { - "owner": "hyprwm", - "repo": "aquamarine", - "type": "github" - } - }, - "flake-compat": { - "flake": false, - "locked": { - "lastModified": 1767039857, - "narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=", - "owner": "NixOS", - "repo": "flake-compat", - "rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab", - "type": "github" - }, - "original": { - "owner": "NixOS", - "repo": "flake-compat", - "type": "github" - } - }, - "flake-parts": { - "inputs": { - "nixpkgs-lib": [ - "nixvim", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1778716662, - "narHash": "sha256-m1Yf0wZ8j1OHjTc2UwHwyQRSnNeSgLJOd7q5Y45hzi4=", - "owner": "hercules-ci", - "repo": "flake-parts", - "rev": "f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb", - "type": "github" - }, - "original": { - "owner": "hercules-ci", - "repo": "flake-parts", - "type": "github" - } - }, - "gitignore": { - "inputs": { - "nixpkgs": [ - "hyprland", - "pre-commit-hooks", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1709087332, - "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=", - "owner": "hercules-ci", - "repo": "gitignore.nix", - "rev": "637db329424fd7e46cf4185293b9cc8c88c95394", - "type": "github" - }, - "original": { - "owner": "hercules-ci", - "repo": "gitignore.nix", - "type": "github" - } - }, - "home-manager": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1782220169, - "narHash": "sha256-NxykfEdGQjop9m49Bk61pXpAduH8ICHgXC1N3Ph3Jp0=", - "owner": "nix-community", - "repo": "home-manager", - "rev": "4b0b9474749820afac53ea30d4ccfef60aba5ce6", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "home-manager", - "type": "github" - } - }, - "hyprcursor": { - "inputs": { - "hyprlang": [ - "hyprland", - "hyprlang" - ], - "nixpkgs": [ - "hyprland", - "nixpkgs" - ], - "systems": [ - "hyprland", - "systems" - ] - }, - "locked": { - "lastModified": 1776511930, - "narHash": "sha256-fCpwFiTW0rT7oKJqr3cqHMnkwypSwQKpbtUEtxdkgrM=", - "owner": "hyprwm", - "repo": "hyprcursor", - "rev": "39435900785d0c560c6ae8777d29f28617d031ef", - "type": "github" - }, - "original": { - "owner": "hyprwm", - "repo": "hyprcursor", - "type": "github" - } - }, - "hyprcursor-phinger": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1763845612, - "narHash": "sha256-78zH5GrYa35bEkzeVnl8uXFbZ/zsiSHayjxZlNt+Xe8=", - "owner": "jappie3", - "repo": "hyprcursor-phinger", - "rev": "1207a845501a28e0e00d4a8e935ee0c9cab30650", - "type": "github" - }, - "original": { - "owner": "jappie3", - "repo": "hyprcursor-phinger", - "type": "github" - } - }, - "hyprgraphics": { - "inputs": { - "hyprutils": [ - "hyprland", - "hyprutils" - ], - "nixpkgs": [ - "hyprland", - "nixpkgs" - ], - "systems": [ - "hyprland", - "systems" - ] - }, - "locked": { - "lastModified": 1776426399, - "narHash": "sha256-RUESLKNikIeEq9ymGJ6nmcDXiSFQpUW1IhJ245nL3xM=", - "owner": "hyprwm", - "repo": "hyprgraphics", - "rev": "68d064434787cf1ed4a2fe257c03c5f52f33cf84", - "type": "github" - }, - "original": { - "owner": "hyprwm", - "repo": "hyprgraphics", - "type": "github" - } - }, - "hyprland": { - "inputs": { - "aquamarine": "aquamarine", - "hyprcursor": "hyprcursor", - "hyprgraphics": "hyprgraphics", - "hyprland-guiutils": "hyprland-guiutils", - "hyprland-protocols": "hyprland-protocols", - "hyprlang": "hyprlang", - "hyprutils": "hyprutils", - "hyprwayland-scanner": "hyprwayland-scanner", - "hyprwire": "hyprwire", - "nixpkgs": "nixpkgs", - "pre-commit-hooks": "pre-commit-hooks", - "systems": "systems", - "xdph": "xdph" - }, - "locked": { - "lastModified": 1782070887, - "narHash": "sha256-rwKRD8h3bxVebEDNyoaPh+q0dqdqvrAE8+1T4Jo3xxs=", - "owner": "hyprwm", - "repo": "Hyprland", - "rev": "5a7078d20a14bb199ef9bb81faa4faeaf5e92117", - "type": "github" - }, - "original": { - "owner": "hyprwm", - "repo": "Hyprland", - "type": "github" - } - }, - "hyprland-guiutils": { - "inputs": { - "aquamarine": [ - "hyprland", - "aquamarine" - ], - "hyprgraphics": [ - "hyprland", - "hyprgraphics" - ], - "hyprlang": [ - "hyprland", - "hyprlang" - ], - "hyprtoolkit": "hyprtoolkit", - "hyprutils": [ - "hyprland", - "hyprutils" - ], - "hyprwayland-scanner": [ - "hyprland", - "hyprwayland-scanner" - ], - "nixpkgs": [ - "hyprland", - "nixpkgs" - ], - "systems": [ - "hyprland", - "systems" - ] - }, - "locked": { - "lastModified": 1776426575, - "narHash": "sha256-KI6nIfVihn/DPaeB5Et46Xg3dkNHrrEtUd5LBBVomB0=", - "owner": "hyprwm", - "repo": "hyprland-guiutils", - "rev": "a968d211048e3ed538e47b84cb3649299578f19d", - "type": "github" - }, - "original": { - "owner": "hyprwm", - "repo": "hyprland-guiutils", - "type": "github" - } - }, - "hyprland-protocols": { - "inputs": { - "nixpkgs": [ - "hyprland", - "nixpkgs" - ], - "systems": [ - "hyprland", - "systems" - ] - }, - "locked": { - "lastModified": 1772460177, - "narHash": "sha256-/6G/MsPvtn7bc4Y32pserBT/Z4SUUdBd4XYJpOEKVR4=", - "owner": "hyprwm", - "repo": "hyprland-protocols", - "rev": "1cb6db5fd6bb8aee419f4457402fa18293ace917", - "type": "github" - }, - "original": { - "owner": "hyprwm", - "repo": "hyprland-protocols", - "type": "github" - } - }, - "hyprlang": { - "inputs": { - "hyprutils": [ - "hyprland", - "hyprutils" - ], - "nixpkgs": [ - "hyprland", - "nixpkgs" - ], - "systems": [ - "hyprland", - "systems" - ] - }, - "locked": { - "lastModified": 1777320127, - "narHash": "sha256-Qu+Wf2Bp5qUjyn2YpZNq8a7JyzTGowhT1knrwE38a9U=", - "owner": "hyprwm", - "repo": "hyprlang", - "rev": "090117506ddc3d7f26e650ff344d378c2ec329cc", - "type": "github" - }, - "original": { - "owner": "hyprwm", - "repo": "hyprlang", - "type": "github" - } - }, - "hyprtoolkit": { - "inputs": { - "aquamarine": [ - "hyprland", - "hyprland-guiutils", - "aquamarine" - ], - "hyprgraphics": [ - "hyprland", - "hyprland-guiutils", - "hyprgraphics" - ], - "hyprlang": [ - "hyprland", - "hyprland-guiutils", - "hyprlang" - ], - "hyprutils": [ - "hyprland", - "hyprland-guiutils", - "hyprutils" - ], - "hyprwayland-scanner": [ - "hyprland", - "hyprland-guiutils", - "hyprwayland-scanner" - ], - "nixpkgs": [ - "hyprland", - "hyprland-guiutils", - "nixpkgs" - ], - "systems": [ - "hyprland", - "hyprland-guiutils", - "systems" - ] - }, - "locked": { - "lastModified": 1772462885, - "narHash": "sha256-5pHXrQK9zasMnIo6yME6EOXmWGFMSnCITcfKshhKJ9I=", - "owner": "hyprwm", - "repo": "hyprtoolkit", - "rev": "9af245a69fa6b286b88ddfc340afd288e00a6998", - "type": "github" - }, - "original": { - "owner": "hyprwm", - "repo": "hyprtoolkit", - "type": "github" - } - }, - "hyprutils": { - "inputs": { - "nixpkgs": [ - "hyprland", - "nixpkgs" - ], - "systems": [ - "hyprland", - "systems" - ] - }, - "locked": { - "lastModified": 1780251518, - "narHash": "sha256-fG9xbb1SOAAJ+2kJRakp3ch+BmA/3dEg/K3PoAZTKkw=", - "owner": "hyprwm", - "repo": "hyprutils", - "rev": "40ede2e7bdec80ba5d4c443160d905e9f841ae5f", - "type": "github" - }, - "original": { - "owner": "hyprwm", - "repo": "hyprutils", - "type": "github" - } - }, - "hyprwayland-scanner": { - "inputs": { - "nixpkgs": [ - "hyprland", - "nixpkgs" - ], - "systems": [ - "hyprland", - "systems" - ] - }, - "locked": { - "lastModified": 1777159683, - "narHash": "sha256-Jxixw6wZphUp+nHYxOKUYSckL17QMBx2d5Zp0rJHr1g=", - "owner": "hyprwm", - "repo": "hyprwayland-scanner", - "rev": "b8632713a6beaf28b56f2a7b0ab2fb7088dbb404", - "type": "github" - }, - "original": { - "owner": "hyprwm", - "repo": "hyprwayland-scanner", - "type": "github" - } - }, - "hyprwire": { - "inputs": { - "hyprutils": [ - "hyprland", - "hyprutils" - ], - "nixpkgs": [ - "hyprland", - "nixpkgs" - ], - "systems": [ - "hyprland", - "systems" - ] - }, - "locked": { - "lastModified": 1778410714, - "narHash": "sha256-o6RzFj4nJXaPRY7EM01siuCQeT41RfwwmcmFQqwFJJg=", - "owner": "hyprwm", - "repo": "hyprwire", - "rev": "85148a8e612808cf5ddb25d0b3c5840f3498a7dc", - "type": "github" - }, - "original": { - "owner": "hyprwm", - "repo": "hyprwire", - "type": "github" - } - }, - "nixos-hardware": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1781168557, - "narHash": "sha256-LOnLQ2tpYF9gqIDDr3+j3DbpJJr/QCH6zPRT2GzEUOE=", - "owner": "NixOS", - "repo": "nixos-hardware", - "rev": "6358ff76821101c178e3ab4919a62799bfe3652e", - "type": "github" - }, - "original": { - "owner": "NixOS", - "repo": "nixos-hardware", - "type": "github" - } - }, - "nixpkgs": { - "locked": { - "lastModified": 1780749050, - "narHash": "sha256-3av0pIjlOWQ6rDbNOmpUSvbNnJkGORQKKjb4LtCZsIY=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "a799d3e3886da994fa307f817a6bc705ae538eeb", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_2": { - "locked": { - "lastModified": 1781577229, - "narHash": "sha256-lrp67w8AulE9Ks53n27I45ADSzbOCn4H+CNW1Ck8B+8=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "567a49d1913ce81ac6e9582e3553dd90a955875f", - "type": "github" - }, - "original": { - "owner": "nixos", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_3": { - "locked": { - "lastModified": 1781607440, - "narHash": "sha256-rxO+uc/KFbSJp+pgyXRuAX6QlG9hJdnt0BXpEQRXY+U=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "3e41b24abd260e8f71dbe2f5737d24122f972158", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixvim": { - "inputs": { - "flake-parts": "flake-parts", - "nixpkgs": "nixpkgs_3", - "systems": "systems_2" - }, - "locked": { - "lastModified": 1782176672, - "narHash": "sha256-8gNmp6mdko4/ALHsiewq4t/I3OvX4nbjAIoz5uyn1p4=", - "owner": "nix-community", - "repo": "nixvim", - "rev": "91df3d9f91c2b6e4c07541903b9d7f80a5b857e1", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "nixvim", - "type": "github" - } - }, - "pre-commit-hooks": { - "inputs": { - "flake-compat": "flake-compat", - "gitignore": "gitignore", - "nixpkgs": [ - "hyprland", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1778507602, - "narHash": "sha256-kTwur1wV+01SdqskVMSo6JMEpg71ps3HpbFY2GsflKs=", - "owner": "cachix", - "repo": "git-hooks.nix", - "rev": "61ab0e80d9c7ab14c256b5b453d8b3fb0189ba0a", - "type": "github" - }, - "original": { - "owner": "cachix", - "repo": "git-hooks.nix", - "type": "github" - } - }, - "root": { - "inputs": { - "home-manager": "home-manager", - "hyprcursor-phinger": "hyprcursor-phinger", - "hyprland": "hyprland", - "nixos-hardware": "nixos-hardware", - "nixpkgs": "nixpkgs_2", - "nixvim": "nixvim", - "zen-browser": "zen-browser" - } - }, - "systems": { - "locked": { - "lastModified": 1689347949, - "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", - "owner": "nix-systems", - "repo": "default-linux", - "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default-linux", - "type": "github" - } - }, - "systems_2": { - "locked": { - "lastModified": 1774449309, - "narHash": "sha256-brhZ8DmuGtzkCYHJg4HEd602amKm89Y9ytsFZ5uWD1w=", - "owner": "nix-systems", - "repo": "default", - "rev": "c29398b59d2048c4ab79345812849c9bd15e9150", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "ref": "future-26.11", - "repo": "default", - "type": "github" - } - }, - "xdph": { - "inputs": { - "hyprland-protocols": [ - "hyprland", - "hyprland-protocols" - ], - "hyprlang": [ - "hyprland", - "hyprlang" - ], - "hyprutils": [ - "hyprland", - "hyprutils" - ], - "hyprwayland-scanner": [ - "hyprland", - "hyprwayland-scanner" - ], - "nixpkgs": [ - "hyprland", - "nixpkgs" - ], - "systems": [ - "hyprland", - "systems" - ] - }, - "locked": { - "lastModified": 1780133819, - "narHash": "sha256-0YPKIY3dlnR7SPq7Z8ekFVvzFsfeiAtEj+QUI3KHrlI=", - "owner": "hyprwm", - "repo": "xdg-desktop-portal-hyprland", - "rev": "4a170c0ba96fd37374f93d8f91c9ed91814828ac", - "type": "github" - }, - "original": { - "owner": "hyprwm", - "repo": "xdg-desktop-portal-hyprland", - "type": "github" - } - }, - "zen-browser": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1781847955, - "narHash": "sha256-1OSYOGuJp/NoODmSHjsz+6TB/kSilJ+BsFihjY7TTnc=", - "owner": "youwen5", - "repo": "zen-browser-flake", - "rev": "4bca251cd556677f7b765ff324d1638ae215be13", - "type": "github" - }, - "original": { - "owner": "youwen5", - "repo": "zen-browser-flake", - "type": "github" - } - } - }, - "root": "root", - "version": 7 -} diff --git a/_old/flake.nix b/_old/flake.nix deleted file mode 100644 index 16ad2ef..0000000 --- a/_old/flake.nix +++ /dev/null @@ -1,79 +0,0 @@ -{ - description = "System and home-manager configuration"; - - inputs = { - # unstable required as 25.11 is missing nvidia driver - nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; - - home-manager = { - url = "github:nix-community/home-manager"; - inputs.nixpkgs.follows = "nixpkgs"; - }; - hyprcursor-phinger = { - url = "github:jappie3/hyprcursor-phinger"; - inputs.nixpkgs.follows = "nixpkgs"; - }; - hyprland = { - url = "github:hyprwm/Hyprland"; - }; - nixos-hardware = { - url = "github:NixOS/nixos-hardware"; - inputs.nixpkgs.follows = "nixpkgs"; - }; - nixvim = { - url = "github:nix-community/nixvim"; - }; - zen-browser = { - url = "github:youwen5/zen-browser-flake"; - inputs.nixpkgs.follows = "nixpkgs"; - }; - }; - - outputs = - { - nixpkgs, - home-manager, - hyprcursor-phinger, - hyprland, - nixos-hardware, - nixvim, - zen-browser, - ... - }: - let - system = "x86_64-linux"; - pkgs = nixpkgs.legacyPackages.${system}; - in - { - nixosConfigurations = { - flock = nixpkgs.lib.nixosSystem { - inherit system; - modules = [ ./systems/flock/configuration.nix ]; - specialArgs = { inherit hyprland; }; - }; - perch = nixpkgs.lib.nixosSystem { - inherit system; - modules = [ - ./systems/perch/configuration.nix - nixos-hardware.nixosModules.framework-16-7040-amd - ]; - specialArgs = { inherit hyprland; }; - }; - }; - homeConfigurations."igneous" = home-manager.lib.homeManagerConfiguration { - inherit pkgs; - - # Specify your home configuration modules here, for example, - # the path to your home.nix. - modules = [ - ./home.nix - nixvim.homeModules.nixvim - hyprcursor-phinger.homeManagerModules.hyprcursor-phinger - ]; - - # Optionally use extraSpecialArgs - # to pass through arguments to home.nix - extraSpecialArgs = { inherit zen-browser; }; - }; - }; -} diff --git a/_old/home.nix b/_old/home.nix deleted file mode 100644 index c4492db..0000000 --- a/_old/home.nix +++ /dev/null @@ -1,83 +0,0 @@ -{ - zen-browser, - pkgs, - lib, - ... -}: - -{ - imports = [ - ./desktop - ./shell - - ./git.nix - ./kitty.nix - ./ssh.nix - ]; - - # Home Manager needs a bit of information about you and the paths it should - # manage. - home.username = "igneous"; - home.homeDirectory = "/home/igneous"; - - # This value determines the Home Manager release that your configuration is - # compatible with. This helps avoid breakage when a new Home Manager release - # introduces backwards incompatible changes. - # - # You should not change this value, even if you update Home Manager. If you do - # want to update the value, then make sure to first check the Home Manager - # release notes. - home.stateVersion = "26.05"; # Please read the comment before changing. - # Let Home Manager install and manage itself. - programs.home-manager.enable = true; - - nixpkgs.config.allowUnfreePredicate = - pkg: - builtins.elem (lib.getName pkg) [ - "1password" - "discord" - "obsidian" - "spotify" - ]; - - home.packages = with pkgs; [ - brightnessctl - hyprpaper - hyprshutdown - jq - man-pages - man-pages-posix - nixd - nixfmt - obsidian - prismlauncher - spotify - thunderbird - tree - wl-clipboard - zen-browser.packages.${pkgs.stdenv.hostPlatform.system}.default - ]; - - xdg.mimeApps = { - enable = true; - defaultApplications = { - "text/html" = "zen.desktop"; - "x-scheme-handler/http" = "zen.desktop"; - "x-scheme-handler/https" = "zen.desktop"; - "x-scheme-handler/about" = "zen.desktop"; - "x-scheme-handler/unknown" = "zen.desktop"; - }; - }; - - programs.bat = { - enable = true; - config.theme = "Catppuccin Frappe"; - }; - - programs.discord.enable = true; - - programs.nixvim = { - enable = true; - imports = [ ./nixvim ]; - }; -} diff --git a/_old/systems/flock/configuration.nix b/_old/systems/flock/configuration.nix deleted file mode 100644 index 972133d..0000000 --- a/_old/systems/flock/configuration.nix +++ /dev/null @@ -1,185 +0,0 @@ -{ - config, - pkgs, - hyprland, - ... -}: -{ - imports = [ - ./hardware-configuration.nix - ]; - - # Bootloader. - boot.loader.systemd-boot.enable = true; - boot.loader.efi.canTouchEfiVariables = true; - - # Use latest kernel. - boot.kernelPackages = pkgs.linuxPackages_latest; - - # Enable container management - boot.enableContainers = true; - - networking.hostName = "flock"; # Define your hostname. - - # Enable networking - networking.networkmanager.enable = true; - - # Set your time zone. - time.timeZone = "America/Chicago"; - - # Select internationalisation properties. - i18n.defaultLocale = "en_US.UTF-8"; - - # Enable hyprland - programs.hyprland = { - enable = true; - package = hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland; - portalPackage = hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland; - xwayland.enable = true; - withUWSM = true; - }; - - # Use hyprland cachix - nix.settings = { - substituters = [ "https://hyprland.cachix.org" ]; - trusted-substituters = [ "https://hyprland.cachix.org" ]; - trusted-public-keys = [ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" ]; - }; - - services.displayManager.sddm = { - enable = true; - wayland.enable = true; - }; - - # Configure keymap in X11 - services.xserver.xkb = { - layout = "us"; - variant = ""; - }; - - # Enable OpenGL - hardware.graphics.enable = true; - - # Load NVIDIA drivers - services.xserver.videoDrivers = [ "nvidia" ]; - - hardware.nvidia = { - # Required - modesetting.enable = true; - - # Disable open-source kernel module, 1070 not compatible - open = false; - - # Enable the settings menu via `nvidia-settings` - nvidiaSettings = true; - - # Use legacy driver for GTX 1070 - package = config.boot.kernelPackages.nvidiaPackages.legacy_580; - }; - - # Enable sound with pipewire. - services.pulseaudio.enable = false; - security.rtkit.enable = true; - services.pipewire = { - enable = true; - alsa.enable = true; - alsa.support32Bit = true; - pulse.enable = true; - }; - - # Define a user account. Don't forget to set a password with ‘passwd’. - users.users.igneous = { - isNormalUser = true; - description = "joan"; - shell = pkgs.zsh; - extraGroups = [ - "dialout" - "input" - "networkmanager" - "wheel" - ]; - }; - - # Enable automatic login for the user. - services.displayManager.autoLogin.enable = true; - services.displayManager.autoLogin.user = "igneous"; - - # Install firefox. - programs.firefox.enable = true; - - programs.neovim = { - enable = true; - defaultEditor = true; - }; - - programs.vim.enable = true; - - environment.systemPackages = with pkgs; [ - fd - git - htop - pavucontrol - ripgrep - unzip - ]; - - fonts.packages = with pkgs; [ - iosevka - nerd-fonts.iosevka - ]; - fonts.fontconfig.defaultFonts = { - monospace = [ - "Berkeley Mono" - "iosevka" - ]; - }; - - # Lets zsh completions work - environment.pathsToLink = [ "/share/zsh" ]; - - programs.zsh = { - enable = true; - enableCompletion = false; - enableGlobalCompInit = false; - }; - - security.polkit.enable = true; - - nixpkgs.config.allowUnfreePredicate = - pkg: - builtins.elem (pkgs.lib.getName pkg) [ - "1password" - "1password-cli" - "chromium" - "nvidia-settings" - "nvidia-kernel-modules" - "nvidia-x11" - "steam" - "steam-original" - "steam-unwrapped" - "steam-run" - ]; - programs.steam = { - enable = true; - }; - programs._1password = { - enable = true; - }; - programs._1password-gui = { - enable = true; - polkitPolicyOwners = [ "igneous" ]; - }; - - # This value determines the NixOS release from which the default - # settings for stateful data, like file locations and database versions - # on your system were taken. It‘s perfectly fine and recommended to leave - # this value at the release version of the first install of this system. - # Before changing this value read the documentation for this option - # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). - system.stateVersion = "25.05"; # Did you read the comment? - - nix.settings.experimental-features = [ - "nix-command" - "flakes" - ]; -} diff --git a/_old/systems/perch/configuration.nix b/_old/systems/perch/configuration.nix deleted file mode 100644 index 2ea0b38..0000000 --- a/_old/systems/perch/configuration.nix +++ /dev/null @@ -1,194 +0,0 @@ -{ - config, - pkgs, - hyprland, - ... -}: -{ - # Firmware update service - services.fwupd.enable = true; - - imports = [ - ./hardware-configuration.nix - ]; - - # Bootloader. - boot.loader.systemd-boot.enable = true; - boot.loader.efi.canTouchEfiVariables = true; - - # Use latest kernel. - boot.kernelPackages = pkgs.linuxPackages_latest; - - # Enable container management - boot.enableContainers = true; - - networking.hostName = "perch"; - - # Enable networking - networking.networkmanager.enable = true; - - # Set your time zone. - time.timeZone = "America/Chicago"; - - # Select internationalisation properties. - i18n.defaultLocale = "en_US.UTF-8"; - - # Enable hyprland - programs.hyprland = { - enable = true; - package = hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland; - portalPackage = hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland; - xwayland.enable = true; - withUWSM = true; - }; - - # Use hyprland cachix - nix.settings = { - substituters = [ "https://hyprland.cachix.org" ]; - trusted-substituters = [ "https://hyprland.cachix.org" ]; - trusted-public-keys = [ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" ]; - }; - - services.displayManager.sddm = { - enable = true; - wayland.enable = true; - }; - - # Configure keymap in X11 - services.xserver.xkb = { - layout = "us"; - variant = ""; - }; - - # Enable OpenGL - hardware.graphics.enable = true; - - # Load NVIDIA drivers - services.xserver.videoDrivers = [ "nvidia" ]; - - hardware.nvidia = { - # Required - modesetting.enable = true; - - # Disable open-source kernel module, 1070 not compatible - open = false; - - # Enable the settings menu via `nvidia-settings` - nvidiaSettings = true; - - # Use legacy driver for GTX 1070 - package = config.boot.kernelPackages.nvidiaPackages.legacy_580; - }; - - # Enable sound with pipewire. - services.pulseaudio.enable = false; - security.rtkit.enable = true; - services.pipewire = { - enable = true; - alsa.enable = true; - alsa.support32Bit = true; - pulse.enable = true; - }; - - # Define a user account. Don't forget to set a password with ‘passwd’. - users.users.igneous = { - isNormalUser = true; - description = "joan"; - shell = pkgs.zsh; - extraGroups = [ - "dialout" - "input" - "networkmanager" - "wheel" - ]; - }; - - # Enable automatic login for the user. - services.displayManager.autoLogin.enable = true; - services.displayManager.autoLogin.user = "igneous"; - - # Install firefox. - programs.firefox.enable = true; - - programs.neovim = { - enable = true; - defaultEditor = true; - }; - - programs.vim.enable = true; - - environment.systemPackages = with pkgs; [ - fd - git - htop - pavucontrol - ripgrep - unzip - ]; - - fonts.packages = with pkgs; [ - iosevka - nerd-fonts.iosevka - ]; - fonts.fontconfig.defaultFonts = { - monospace = [ - "Berkeley Mono" - "iosevka" - ]; - }; - - # Lets zsh completions work - environment.pathsToLink = [ "/share/zsh" ]; - - programs.zsh = { - enable = true; - enableCompletion = false; - enableGlobalCompInit = false; - }; - - security.polkit.enable = true; - - nixpkgs.config.allowUnfreePredicate = - pkg: - builtins.elem (pkgs.lib.getName pkg) [ - "1password" - "1password-cli" - "chromium" - "nvidia-settings" - "nvidia-kernel-modules" - "nvidia-x11" - "steam" - "steam-original" - "steam-unwrapped" - "steam-run" - ]; - programs.steam = { - enable = true; - }; - programs._1password = { - enable = true; - }; - programs._1password-gui = { - enable = true; - polkitPolicyOwners = [ "igneous" ]; - }; - - # This value determines the NixOS release from which the default - # settings for stateful data, like file locations and database versions - # on your system were taken. It‘s perfectly fine and recommended to leave - # this value at the release version of the first install of this system. - # Before changing this value read the documentation for this option - # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). - system.stateVersion = "26.05"; # Did you read the comment? - - nix.settings.experimental-features = [ - "nix-command" - "flakes" - ]; - - hardware.bluetooth = { - enable = true; - powerOnBoot = true; - }; - services.blueman.enable = true; -} -- 2.51.2