broke everything :)
This commit is contained in:
parent
d67002cf3b
commit
809104eda3
@ -2,7 +2,7 @@
|
||||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ config, pkgs, ... }:
|
||||
{ config, pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
@ -29,8 +29,6 @@
|
||||
# Enable networking
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
boot.supportedFilesystems = [ "ntfs" ];
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "Europe/Amsterdam";
|
||||
|
||||
@ -61,8 +59,8 @@
|
||||
|
||||
# Configure keymap in X11
|
||||
services.xserver = {
|
||||
layout = "us";
|
||||
xkbVariant = "euro";
|
||||
xkb.layout = "us";
|
||||
xkb.variant = "euro";
|
||||
};
|
||||
|
||||
# Enable CUPS to print documents.
|
||||
@ -108,14 +106,13 @@
|
||||
description = "Steph";
|
||||
extraGroups = [ "networkmanager" "wheel" "dialout" "podman" "docker" ];
|
||||
packages = with pkgs; [
|
||||
librewolf-wayland
|
||||
tdesktop
|
||||
vscodium
|
||||
ungoogled-chromium
|
||||
widevine-cdm
|
||||
libreoffice
|
||||
nextcloud-client
|
||||
tootle
|
||||
tuba
|
||||
dino
|
||||
minetest
|
||||
mumble
|
||||
@ -126,7 +123,7 @@
|
||||
endeavour
|
||||
zotero
|
||||
prismlauncher
|
||||
schildichat-desktop
|
||||
element-desktop
|
||||
stack
|
||||
sqlite
|
||||
sqlite.dev
|
||||
@ -150,7 +147,7 @@
|
||||
# Allow unfree packages
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
fonts.fonts = with pkgs; [
|
||||
fonts.packages = with pkgs; [
|
||||
(nerdfonts.override { fonts = [ "FiraCode" "DroidSansMono" ]; })
|
||||
noto-fonts
|
||||
noto-fonts-cjk
|
||||
@ -178,7 +175,7 @@
|
||||
ripgrep
|
||||
bottom
|
||||
skim
|
||||
exa
|
||||
eza
|
||||
bat
|
||||
lf
|
||||
fd
|
||||
@ -198,8 +195,8 @@
|
||||
|
||||
gnome.gnome-tweaks
|
||||
gnomeExtensions.tray-icons-reloaded
|
||||
gnomeExtensions.emoji-selector
|
||||
gnomeExtensions.noannoyance-2
|
||||
#gnomeExtensions.emoji-selector
|
||||
#gnomeExtensions.noannoyance-2
|
||||
gnomeExtensions.clipboard-history
|
||||
gnomeExtensions.alphabetical-app-grid
|
||||
|
||||
@ -264,7 +261,29 @@
|
||||
system.stateVersion = "22.05"; # Did you read the comment?
|
||||
|
||||
home-manager.users.steph = {
|
||||
|
||||
|
||||
home.file.".mozilla/firefox/default/chrome/firefox-gnome-theme".source = inputs.firefox-gnome-theme;
|
||||
programs.firefox.enable = true;
|
||||
programs.firefox.package = pkgs.librewolf-wayland;
|
||||
home.file.".librewolf".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.mozilla" ;
|
||||
programs.firefox.profiles.default = {
|
||||
userChrome = ''
|
||||
@import "firefox-gnome-theme/userChrome.css";
|
||||
'';
|
||||
userContent = ''
|
||||
@import "firefox-gnome-theme/userContent.css";
|
||||
'';
|
||||
settings = {
|
||||
# Firefox gnome theme ## - https://github.com/rafaelmardojai/firefox-gnome-theme/blob/7cba78f5216403c4d2babb278ff9cc58bcb3ea66/configuration/user.js
|
||||
# (copied into here because home-manager already writes to user.js)
|
||||
"toolkit.legacyUserProfileCustomizations.stylesheets" = true; # Enable customChrome.cs
|
||||
"browser.uidensity" = 0; # Set UI density to normal
|
||||
"svg.context-properties.content.enabled" = true; # Enable SVG context-propertes
|
||||
"browser.theme.dark-private-windows" = false; # Disable private window dark theme
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
home.stateVersion = "22.05";
|
||||
|
||||
home.packages = [ pkgs.fortune ];
|
||||
|
51
flake.lock
51
flake.lock
@ -1,63 +1,64 @@
|
||||
{
|
||||
"nodes": {
|
||||
"firefox-gnome-theme": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1719758591,
|
||||
"narHash": "sha256-3DE/UnxJxRWjtWPZuuiT3TIG7HrHf+srpmiCTFkrAQs=",
|
||||
"owner": "rafaelmardojai",
|
||||
"repo": "firefox-gnome-theme",
|
||||
"rev": "8fb5267c5b3434f76983e29749aba7cd636e03ca",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "rafaelmardojai",
|
||||
"repo": "firefox-gnome-theme",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"home": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
],
|
||||
"utils": "utils"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1676257154,
|
||||
"narHash": "sha256-eW3jymNLpdxS5fkp9NWKyNtgL0Gqtgg1vCTofKXDF1g=",
|
||||
"lastModified": 1719827385,
|
||||
"narHash": "sha256-qs+nU20Sm8czHg3bhGCqiH+8e13BJyRrKONW34g3i50=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "2cb27c79117a2a75ff3416c3199a2dc57af6a527",
|
||||
"rev": "391ca6e950c2525b4f853cbe29922452c14eda82",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"ref": "release-22.11",
|
||||
"ref": "release-24.05",
|
||||
"repo": "home-manager",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1676895851,
|
||||
"narHash": "sha256-xdhBKw2el790G+88tZYpRWlP9VjQC9OLR5Jx84VPe08=",
|
||||
"lastModified": 1719707984,
|
||||
"narHash": "sha256-RoxIr/fbndtuKqulGvNCcuzC6KdAib85Q8gXnjzA1dw=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "e19f25b587f15871d26442cfa1abe4418a815d7d",
|
||||
"rev": "7dca15289a1c2990efbe4680f0923ce14139b042",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixos-22.11",
|
||||
"ref": "nixos-24.05",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"firefox-gnome-theme": "firefox-gnome-theme",
|
||||
"home": "home",
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
},
|
||||
"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"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
|
10
flake.nix
10
flake.nix
@ -2,13 +2,15 @@
|
||||
description = "A very basic flake";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-22.11";
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
|
||||
|
||||
home.url = "github:nix-community/home-manager/release-22.11";
|
||||
home.url = "github:nix-community/home-manager/release-24.05";
|
||||
home.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
firefox-gnome-theme = { url = "github:rafaelmardojai/firefox-gnome-theme"; flake = false; };
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, home }: {
|
||||
outputs = { self, nixpkgs, home, firefox-gnome-theme }@inputs: {
|
||||
|
||||
nixosConfigurations.iota = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
@ -18,6 +20,7 @@
|
||||
imports = [
|
||||
./configuration.nix
|
||||
./hardware-configuration/iota.nix
|
||||
{_module.args = {inherit inputs;};}
|
||||
];
|
||||
}];
|
||||
};
|
||||
@ -29,6 +32,7 @@
|
||||
imports = [
|
||||
./configuration.nix
|
||||
./hardware-configuration/tau.nix
|
||||
{_module.args = {inherit inputs;};}
|
||||
];
|
||||
}];
|
||||
};
|
||||
|
@ -8,23 +8,26 @@
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" ];
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "usbhid" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/36d680ca-bdd7-47d2-8975-b1382688fc8e";
|
||||
{ device = "/dev/disk/by-uuid/59bdfb89-0394-4a11-b8d3-939c1f543aa3";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot/efi" =
|
||||
{ device = "/dev/disk/by-uuid/C1EF-2008";
|
||||
boot.initrd.luks.devices."luks-5ae87f71-0b71-4a1c-90e7-e41dad41965c".device = "/dev/disk/by-uuid/5ae87f71-0b71-4a1c-90e7-e41dad41965c";
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/6CDA-4F23";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0022" "dmask=0022" ];
|
||||
};
|
||||
|
||||
swapDevices =
|
||||
[ { device = "/dev/disk/by-uuid/492b45b0-24e1-451e-b90f-a2741f1e5e86"; }
|
||||
[ { device = "/dev/disk/by-uuid/b436250d-3a24-4e9e-bf79-b638eb083119"; }
|
||||
];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
@ -35,13 +38,14 @@
|
||||
# networking.interfaces.enp0s31f6.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.wlp58s0.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.wwp0s20f0u6i12.useDHCP = lib.mkDefault true;
|
||||
networking.hostName = "tau"; # Define your hostname.
|
||||
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
|
||||
# Bootloader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
||||
|
||||
boot.initrd.luks.devices."luks-d86d9bcd-df3d-4fbe-b0c0-66297852fc46".device = "/dev/disk/by-uuid/d86d9bcd-df3d-4fbe-b0c0-66297852fc46";
|
||||
networking.hostName = "tau"; # Define your hostname.
|
||||
|
||||
}
|
||||
|
@ -160,7 +160,7 @@ let
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
paths = with kakounePlugins; [
|
||||
kak-lsp
|
||||
kakoune-lsp
|
||||
lsp-config
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user