init
This commit is contained in:
@@ -64,11 +64,11 @@ boot.loader.grub.useOSProber = true;
|
|||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
};
|
};
|
||||||
|
|
||||||
# fileSystems."/mnt" =
|
fileSystems."/mnt/win" =
|
||||||
# {
|
{
|
||||||
# device = "/dev/disk/by-label/HDD";
|
device = "/dev/disk/by-uuid/7420123C201205B0";
|
||||||
# fsType = "ext4";
|
fsType = "ntfs";
|
||||||
# };
|
};
|
||||||
|
|
||||||
|
|
||||||
swapDevices = [ ];
|
swapDevices = [ ];
|
||||||
@@ -77,6 +77,7 @@ boot.loader.grub.useOSProber = true;
|
|||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
|
||||||
networking.hostName = "nico-nixos"; # Define your hostname.
|
networking.hostName = "nico-nixos"; # Define your hostname.
|
||||||
|
networking.enableIPv6 = false;
|
||||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||||
|
|
||||||
# Configure network proxy if necessary networking.proxy.default =
|
# Configure network proxy if necessary networking.proxy.default =
|
||||||
@@ -87,10 +88,14 @@ boot.loader.grub.useOSProber = true;
|
|||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
# VM
|
# VM
|
||||||
# virtualisation.virtualbox.host.enable = true;
|
virtualisation.virtualbox.host.enable = true;
|
||||||
# users.extraGroups.vboxusers.members = [ "user-with-access-to-virtualbox" ];
|
virtualisation.virtualbox.host.enableExtensionPack = true;
|
||||||
|
# virtualisation.virtualbox.host.enableKvm = true;
|
||||||
|
# virtualisation.virtualbox.host.addNetworkInterface = false;
|
||||||
|
users.extraGroups.vboxusers.members = [ "nico" ];
|
||||||
# virtualisation.virtualbox.guest.enable = true;
|
# virtualisation.virtualbox.guest.enable = true;
|
||||||
# virtualisation.virtualbox.guest.dragAndDrop = true;
|
# virtualisation.virtualbox.guest.dragAndDrop = true;
|
||||||
|
# virtualisation.docker.enable = true;
|
||||||
|
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
time.timeZone = "Europe/Berlin";
|
time.timeZone = "Europe/Berlin";
|
||||||
@@ -140,9 +145,10 @@ boot.loader.grub.useOSProber = true;
|
|||||||
|
|
||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||||
users.users.nico = { isNormalUser = true; description = "nico"; extraGroups = [ "networkmanager"
|
users.users.nico = { isNormalUser = true; description = "nico"; extraGroups = [ "networkmanager"
|
||||||
"wheel" "adbusers"]; packages = with pkgs; [
|
"wheel" "adbusers" "docker"]; packages = with pkgs; [
|
||||||
obsidian
|
obsidian
|
||||||
musescore
|
musescore
|
||||||
|
mullvad-vpn
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -166,11 +172,13 @@ boot.loader.grub.useOSProber = true;
|
|||||||
tree
|
tree
|
||||||
nodejs
|
nodejs
|
||||||
gparted
|
gparted
|
||||||
lutris
|
heroic
|
||||||
wineWowPackages.stable
|
wineWowPackages.stable
|
||||||
spotify
|
spotify
|
||||||
|
sshfs
|
||||||
|
|
||||||
# sway
|
# sway
|
||||||
|
networkmanager
|
||||||
networkmanagerapplet
|
networkmanagerapplet
|
||||||
wl-clipboard # wl-copy and wl-paste for copy/paste from stdin / stdout
|
wl-clipboard # wl-copy and wl-paste for copy/paste from stdin / stdout
|
||||||
mako # notification system developed by swaywm maintainer
|
mako # notification system developed by swaywm maintainer
|
||||||
|
|||||||
@@ -77,6 +77,7 @@ boot.loader.grub.useOSProber = true;
|
|||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
|
||||||
networking.hostName = "nico-nixos"; # Define your hostname.
|
networking.hostName = "nico-nixos"; # Define your hostname.
|
||||||
|
networking.enableIPv6 = false;
|
||||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||||
|
|
||||||
# Configure network proxy if necessary networking.proxy.default =
|
# Configure network proxy if necessary networking.proxy.default =
|
||||||
@@ -87,10 +88,14 @@ boot.loader.grub.useOSProber = true;
|
|||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
# VM
|
# VM
|
||||||
# virtualisation.virtualbox.host.enable = true;
|
virtualisation.virtualbox.host.enable = true;
|
||||||
# users.extraGroups.vboxusers.members = [ "user-with-access-to-virtualbox" ];
|
virtualisation.virtualbox.host.enableExtensionPack = true;
|
||||||
|
# virtualisation.virtualbox.host.enableKvm = true;
|
||||||
|
# virtualisation.virtualbox.host.addNetworkInterface = false;
|
||||||
|
users.extraGroups.vboxusers.members = [ "nico" ];
|
||||||
# virtualisation.virtualbox.guest.enable = true;
|
# virtualisation.virtualbox.guest.enable = true;
|
||||||
# virtualisation.virtualbox.guest.dragAndDrop = true;
|
# virtualisation.virtualbox.guest.dragAndDrop = true;
|
||||||
|
# virtualisation.docker.enable = true;
|
||||||
|
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
time.timeZone = "Europe/Berlin";
|
time.timeZone = "Europe/Berlin";
|
||||||
@@ -111,11 +116,11 @@ boot.loader.grub.useOSProber = true;
|
|||||||
services.desktopManager.plasma6.enable = true;
|
services.desktopManager.plasma6.enable = true;
|
||||||
|
|
||||||
# Configure keymap in X11
|
# Configure keymap in X11
|
||||||
services.xserver = { xkb.layout = "en"; xkb.variant = "";
|
services.xserver = { xkb.layout = "us"; xkb.variant = "";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Configure console keymap
|
# Configure console keymap
|
||||||
console.keyMap = "en";
|
console.keyMap = "us";
|
||||||
|
|
||||||
# Enable CUPS to print documents.
|
# Enable CUPS to print documents.
|
||||||
services.printing.enable = true;
|
services.printing.enable = true;
|
||||||
@@ -140,9 +145,10 @@ boot.loader.grub.useOSProber = true;
|
|||||||
|
|
||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||||
users.users.nico = { isNormalUser = true; description = "nico"; extraGroups = [ "networkmanager"
|
users.users.nico = { isNormalUser = true; description = "nico"; extraGroups = [ "networkmanager"
|
||||||
"wheel" "adbusers"]; packages = with pkgs; [
|
"wheel" "adbusers" "docker"]; packages = with pkgs; [
|
||||||
obsidian
|
obsidian
|
||||||
musescore
|
musescore
|
||||||
|
mullvad-vpn
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -166,11 +172,13 @@ boot.loader.grub.useOSProber = true;
|
|||||||
tree
|
tree
|
||||||
nodejs
|
nodejs
|
||||||
gparted
|
gparted
|
||||||
lutris
|
heroic
|
||||||
wineWowPackages.stable
|
wineWowPackages.stable
|
||||||
spotify
|
spotify
|
||||||
|
sshfs
|
||||||
|
|
||||||
# sway
|
# sway
|
||||||
|
networkmanager
|
||||||
networkmanagerapplet
|
networkmanagerapplet
|
||||||
wl-clipboard # wl-copy and wl-paste for copy/paste from stdin / stdout
|
wl-clipboard # wl-copy and wl-paste for copy/paste from stdin / stdout
|
||||||
mako # notification system developed by swaywm maintainer
|
mako # notification system developed by swaywm maintainer
|
||||||
|
|||||||
30
flake.lock
generated
30
flake.lock
generated
@@ -6,11 +6,11 @@
|
|||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1736677288,
|
"lastModified": 1738087375,
|
||||||
"narHash": "sha256-Vj3WOLy6o6Zf44Rwg9eLqNRQPlVoDrQ89tsef3l3990=",
|
"narHash": "sha256-GLyNtU9A2VN22jNRHZ2OXuFfTJLh8uEVVt+ftsKUX0c=",
|
||||||
"owner": "Aylur",
|
"owner": "Aylur",
|
||||||
"repo": "ags",
|
"repo": "ags",
|
||||||
"rev": "90db9b9fecc0f4228440d83107c6c745a35e7d77",
|
"rev": "a6a7a0adb17740f4c34a59902701870d46fbb6a4",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -27,11 +27,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1735172721,
|
"lastModified": 1737670815,
|
||||||
"narHash": "sha256-rtEAwGsHSppnkR3Qg3eRJ6Xh/F84IY9CrBBLzYabalY=",
|
"narHash": "sha256-ZCxxshGN7XooabArcoGkYSNx5yVunqjKJi2aTv6cznI=",
|
||||||
"owner": "aylur",
|
"owner": "aylur",
|
||||||
"repo": "astal",
|
"repo": "astal",
|
||||||
"rev": "6c84b64efc736e039a8a10774a4a1bf772c37aa2",
|
"rev": "127e9cdcbf173846a3c40ddc0abfbb038df48042",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -47,11 +47,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1736785676,
|
"lastModified": 1742411397,
|
||||||
"narHash": "sha256-TY0jUwR3EW0fnS0X5wXMAVy6h4Z7Y6a3m+Yq++C9AyE=",
|
"narHash": "sha256-qsFtK4H/IxBHoUD7aWDL+emAfh++E42gRMaGskT3irs=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "fc52a210b60f2f52c74eac41a8647c1573d2071d",
|
"rev": "27a72d991305cfd9b15018a6e7eb3db93a32bc60",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -62,11 +62,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1734649271,
|
"lastModified": 1737469691,
|
||||||
"narHash": "sha256-4EVBRhOjMDuGtMaofAIqzJbg4Ql7Ai0PSeuVZTHjyKQ=",
|
"narHash": "sha256-nmKOgAU48S41dTPIXAq0AHZSehWUn6ZPrUKijHAMmIk=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "d70bd19e0a38ad4790d3913bf08fcbfc9eeca507",
|
"rev": "9e4d5190a9482a1fb9d18adf0bdb83c6e506eaab",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -78,11 +78,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1736798957,
|
"lastModified": 1742288794,
|
||||||
"narHash": "sha256-qwpCtZhSsSNQtK4xYGzMiyEDhkNzOCz/Vfu4oL2ETsQ=",
|
"narHash": "sha256-Txwa5uO+qpQXrNG4eumPSD+hHzzYi/CdaM80M9XRLCo=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "9abb87b552b7f55ac8916b6fc9e5cb486656a2f3",
|
"rev": "b6eaf97c6960d97350c584de1b6dcff03c9daf42",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
21
packages/other/#default.nix#
Normal file
21
packages/other/#default.nix#
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
|
||||||
|
|
||||||
|
programs.git = {
|
||||||
|
enable = true;
|
||||||
|
userName = "Nico";
|
||||||
|
userEmail = "nicovessen@gmail.com";
|
||||||
|
extraConfig = {
|
||||||
|
safe.directory = "/etc/nixos";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
services.kdeconnect = {
|
||||||
|
enable = true;
|
||||||
|
indicator = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
@@ -29,7 +29,7 @@ bind -n M-L next-window
|
|||||||
|
|
||||||
plugins = [
|
plugins = [
|
||||||
pkgs.tmuxPlugins.catppuccin
|
pkgs.tmuxPlugins.catppuccin
|
||||||
pkgs.tmuxPlugins.vim-tmux-navigator
|
# pkgs.tmuxPlugins.vim-tmux-navigator
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -9,17 +9,19 @@
|
|||||||
set-option -sa terminal-overrides ",xterm*:Tc"
|
set-option -sa terminal-overrides ",xterm*:Tc"
|
||||||
set -g @catppuccin_flavor 'mocha'
|
set -g @catppuccin_flavor 'mocha'
|
||||||
set -g @catppuccin_window_status_style "rounded"
|
set -g @catppuccin_window_status_style "rounded"
|
||||||
set -g status-right-length 100
|
|
||||||
set -g status-left-length 100
|
|
||||||
set -g status-left ""
|
|
||||||
set -g status-right "#{E:@catppuccin_status_application}"
|
|
||||||
set -ag status-right "#{E:@catppuccin_status_session}"
|
|
||||||
set -ag status-right "#{E:@catppuccin_status_uptime}"
|
|
||||||
|
|
||||||
|
set -g base-index 1
|
||||||
|
set -g pane-base-index 1
|
||||||
|
set-window-option -g pane-base-index 1
|
||||||
|
set-option -g renumber-windows on
|
||||||
|
|
||||||
|
bind '"' split-window -v -c "#{pane_current_path}"
|
||||||
|
bind % split-window -h -c "#{pane_current_path}"
|
||||||
|
|
||||||
unbind C-b
|
unbind C-b
|
||||||
set -g prefix C-Space
|
set -g prefix C-Space
|
||||||
bind C-Space send-prefix
|
bind C-Space send-prefix
|
||||||
|
set -g mouse on
|
||||||
|
|
||||||
bind -n M-H previous-window
|
bind -n M-H previous-window
|
||||||
bind -n M-L next-window
|
bind -n M-L next-window
|
||||||
|
|||||||
Reference in New Issue
Block a user